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

Mutational Push Stage #356

Merged
merged 6 commits into from
Nov 11, 2021
Merged

Mutational Push Stage #356

merged 6 commits into from
Nov 11, 2021

Conversation

domenukk
Copy link
Member

@domenukk domenukk commented Nov 6, 2021

This PR will (eventually) create a Mutational Push Stage that doesn't call an executor for each generated input, but instead returns the next testcase as iterator.
The caller of the push stage must make sure they execute the returned testcase, and that their harness populates the observers, as well as the exit_kind.

@domenukk domenukk requested a review from bitwave November 6, 2021 01:15
@bitwave
Copy link
Collaborator

bitwave commented Nov 6, 2021

no_std build fails...

@domenukk
Copy link
Member Author

domenukk commented Nov 6, 2021

This is far from being done :D

@domenukk domenukk marked this pull request as ready for review November 6, 2021 18:54
@domenukk
Copy link
Member Author

domenukk commented Nov 7, 2021

@vanhauser-thc this allows us to build custom mutators for afl++ using libafl, btw :)

@andreafioraldi
Copy link
Member

will look tomorrow

@andreafioraldi
Copy link
Member

andreafioraldi commented Nov 8, 2021

@domenukk PushStage seems to not be a Stage at all, why don't we think to another name? FuzzIterator?

@andreafioraldi
Copy link
Member

apart the name, the code lgtm

@domenukk
Copy link
Member Author

domenukk commented Nov 8, 2021

@domenukk PushStage seems to not be a Stage at all, why don't we think to another name? FuzzIterator?

Why not a stage?
We can eventually create a i2s push stage, calibration push stage, etc and chain them using Iterator::chain so it's the same general concept I think

@domenukk domenukk merged commit 3e85cf2 into main Nov 11, 2021
@domenukk domenukk deleted the push_stage branch December 9, 2021 12:56
khang06 pushed a commit to khang06/LibAFL that referenced this pull request Oct 11, 2022
* initial commit for push stage

* cleanup, no_std, clippy

* clippy

* fuzzes

* readme

* fmt
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.

None yet

3 participants