-
Notifications
You must be signed in to change notification settings - Fork 1
Add LibAFL example #20
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
base: main
Are you sure you want to change the base?
Conversation
| .ok_or_else(|| { | ||
| Error::unknown(format!("Failed to advance node at position {position}")) | ||
| })?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting errors here, not quite sure yet why
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll check out in a bit
| let sampler = StdRng::seed_from_u64(state.rand_mut().next_u64()); | ||
|
|
||
| let input = nonterminal_start::generate(&mut rng, &mut (), 0); | ||
| let mut input = DerivationTree::new(input); | ||
| let mut generator = FandangoGenerator::new(sampler, ()); | ||
|
|
||
| let mut mutator = AdvanceMutator::new(rng, (), "test"); | ||
| let sampler = StdRng::seed_from_u64(state.rand_mut().next_u64()); | ||
| let mut mutator = AdvanceMutator::new(sampler, (), "test"); | ||
|
|
||
| for _ in 0..10_000 { | ||
| let mut input: DerivationTree<nonterminal_start> = generator.generate(&mut state)?; | ||
| mutator.mutate(&mut state, &mut input)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use this to reproduce (or just run the example fuzzer with a --stdout-file and look at those logs)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
No description provided.