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

Forkserver example with forkserver.c #726

Closed
tokatoka opened this issue Aug 12, 2022 · 0 comments
Closed

Forkserver example with forkserver.c #726

tokatoka opened this issue Aug 12, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tokatoka
Copy link
Member

Andrea has ported forkserver logic from afl++ https://github.com/AFLplusplus/LibAFL/blob/main/libafl_targets/src/forkserver.c

Our current forkserver example forksever_simple uses afl++'s compiler to instrument the program, but we want to make a forkserver example that uses libafl_cc + our forkserver logic in libafl_targets

@tokatoka tokatoka added enhancement New feature or request good first issue Good for newcomers labels Aug 12, 2022
@tokatoka tokatoka changed the title fork server example with forkserver.c Forkserver example with forkserver.c Aug 12, 2022
ergrelet added a commit to ergrelet/LibAFL that referenced this issue Dec 27, 2022
The fuzzer is instrumented with libafl_cc as well.
domenukk pushed a commit that referenced this issue Dec 28, 2022
* forkserver: Add an API to setup the shared memory region for edge coverage

This is inspired from and meant to be similar to afl-cc's instrumentation.
Remove ! return type from __afl_start_forkserver as it returns in several cases.

* Add example fuzzer using LibAFL's forkserver

The fuzzer is instrumented with libafl_cc as well.

Co-authored-by: ergrelet <ergrelet@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant