-
-
Notifications
You must be signed in to change notification settings - Fork 326
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
InProcess Template Fuzzer for librairies #2748
base: main
Are you sure you want to change the base?
Conversation
What does template mean in this case? |
There is no "functionnality" preview just like you did with other examples fuzzers. It's just a InMemoryProcess fuzzers simillar to libpng fuzzers examples with a external libsrc. I used the term "template" to add a clean/short fuzzer with a few src / cmakeproject for a basic example for libafl. |
Aah so it's an example how to use LibAFL together with a Cmake target |
} | ||
|
||
// simply RECOMPILE WITH -DTEST_CORPUS=1 OR -DTEST_ALL_CORPUS=1 to test corpus_evolution or crashes directory. | ||
#ifdef TEST_CORPUS |
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.
This doesn't need to be part of the harness, it's better to put an argument for rerunning a corpus into lib.rs - then you don't need to recompile the target, either.
Not sure if it's different enough from existing examples, though? |
As u want, it helped me as a setup |
Hey
If you want, i wrote a template fuzzer with Makefile.toml and a baic library with crash for the fuzzers/ examples dirs