Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded percentages from the fuzzer and put them in a file #23

Open
Tmonster opened this issue Aug 20, 2024 · 0 comments
Open

Comments

@Tmonster
Copy link
Collaborator

Currently, the fuzzer creates statements by evaluating random percentages. This works, but if we want the fuzzer to follow a specific path to generate an expression, function_expression, or anything else, we have to modify the code in many places to make sure the control flow ends up where we want it. This works, but requires lots of recompilation and code editing that can get tiring.

If we move the hardcoded percentages out and into a file, we can then modify the percentages to nudge the fuzzer to generate statements that are more to our liking. Since these percentages can be read from a file, we also don't have to recompile, and we can just revert any changes to our percentages file.

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

No branches or pull requests

1 participant