Skip to content

[hls-fuzzer] Add variable probability table - #1030

Open
zero9178 wants to merge 1 commit into
users/zero9178/template-type-systemfrom
users/zero9178/variable-probability-table
Open

[hls-fuzzer] Add variable probability table#1030
zero9178 wants to merge 1 commit into
users/zero9178/template-type-systemfrom
users/zero9178/variable-probability-table

Conversation

@zero9178

@zero9178 zero9178 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Prior to this PR the choice of variables was fully uniform. There are however use cases where we want specific variables to be more likely to be generated.

One such use case e.g. is that loop recurrence variables should be used after the loop to make it as likely as possible for the loop to stay alive. (Making it more likely rather than forcing it via discards is easier to implement without destroying program diversity + makes it such that the generator cannot fail to generate a C program)

Prior to this PR the choice of variables was fully uniform. There are however use cases where we want specific variables to be more likely to be generated.

One such use case e.g. is that loop recurrence variables should be used *after* the loop to make it as likely as possible for the loop to stay alive.
(Making it more likely rather than forcing it via discards is easier to implement without destroying program diversity + makes it such that the generator cannot fail to generate a C program)
@zero9178
zero9178 requested a review from Jiahui17 August 4, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant