Add LibAFL example - #20
Draft
riesentoaster wants to merge 13 commits into
Draft
Conversation
riesentoaster
commented
Nov 3, 2025
Comment on lines
+68
to
+70
| .ok_or_else(|| { | ||
| Error::unknown(format!("Failed to advance node at position {position}")) | ||
| })?; |
Collaborator
Author
There was a problem hiding this comment.
I'm getting errors here, not quite sure yet why
Member
There was a problem hiding this comment.
Okay, I'll check out in a bit
riesentoaster
commented
Nov 3, 2025
Comment on lines
+118
to
127
| 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)?; |
Collaborator
Author
There was a problem hiding this comment.
Use this to reproduce (or just run the example fuzzer with a --stdout-file and look at those logs)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.