-
-
Notifications
You must be signed in to change notification settings - Fork 465
forkserver not running properly #770
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
In ForkserverExecutorBuilder build(), when status & FS_OPT_ENABLED == FS_OPT_ENABLED, write_ctl will be executed. see https://github.com/AFLplusplus/LibAFL/blob/main/libafl/src/executors/forkserver.rs#L630
But in aflplusplus, it also needs to satisfy (send_status & FS_OPT_SHDMEM_FUZZ == FS_OPT_SHDMEM_FUZZ) || (send_status & FS_OPT_AUTODICT == FS_OPT_AUTODICT). see https://github.com/AFLplusplus/AFLplusplus/blob/stable/instrumentation/afl-compiler-rt.o.c#L1028.
This may cause run_target not to execute as expected.
Expected behavior
Maybe the same conditions as aflpp should be added?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working