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

Add FuzzTest dictionary support #862

Merged
merged 20 commits into from
Oct 17, 2023
Merged

Add FuzzTest dictionary support #862

merged 20 commits into from
Oct 17, 2023

Conversation

br-lewis
Copy link
Contributor

@br-lewis br-lewis commented Oct 5, 2023

This adds dictionary support to JUnit fuzz tests via 2 annotations: WithDictionary and WithDictionaryFile that allow dictionaries to be specified either as static arrays of tokens or by referring to a dictionary file. Multiple instances of both annotations are allowed and all values will be merged in the dictionary given to libfuzzer.

@br-lewis br-lewis requested a review from a team October 5, 2023 13:49
@br-lewis br-lewis force-pushed the FUZZ-792-dictionary-support branch from a6bb281 to b853308 Compare October 16, 2023 12:00
@br-lewis br-lewis requested a review from fmeum October 16, 2023 12:34
@fmeum
Copy link
Contributor

fmeum commented Oct 16, 2023

Looks good to me after the debug prints have been removed!

@br-lewis br-lewis merged commit 5512980 into main Oct 17, 2023
@br-lewis br-lewis deleted the FUZZ-792-dictionary-support branch October 17, 2023 08:33
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.

2 participants