-
-
Notifications
You must be signed in to change notification settings - Fork 322
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
InProcessForkExecutor #82
Comments
Are we gonna go with injecting fork-server assembly code into instrumented PUT? |
For ForkserverExecutor this is an implementation detail of the instrumentation backend, has nothing to do with the lib. |
The immediate goal of ForkserverExecutor is btw to execute AFL++ binaries compiled with afl-clang-fast |
Basically this: Or the "real" afl++ version, that also add sharedmem input, here: (it doesn't have to fork itself but can use a rust /edit: |
I've pushed a piece of very WIP code to the forkserver branch. |
Yes, I assume we can use a normal map observer, with the map pointing to an /edit: looking at your code, it might be a good idea to implement |
I'll use the Pipe struct you've pushed to the launcher branch |
@tokatoka want to create a PR for the current state, so we can finish it up together? |
Yes, I was kind of waiting for the launcher's |
Good job |
BTW, for what kind of target programs do we prefer to use InProcessForkExecutor over InProcessExecutor? |
This still needs some serialization that will cost time, maybe there is a better way (for example, by having large parts of the fuzzer on a shared map, directly?) |
ok, makes sense. |
I think we can call but in this case, we need to make EDGES_MAP aligned to 65536 bytes, so can we make EDGES_MAP into a struct then we can attach #[repr(C, align(65536))]? and I think we can wrap that |
What's the benefit over using a normal ShMem? I'd just use that if possible, then it works on every os. |
My idea was to remap EDGES_MAP as MAP_SHARED, so that the bitmap is shared between the child and the parent, but normal ShMem does not have a way to remap a memory region as MAP_SHARED. |
How do you mean? The contents of |
Nevermind, I've misunderstood, |
this can be closed now? |
Yes, great work |
ATM these two Executors are missing:
The text was updated successfully, but these errors were encountered: