mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 10:38:07 +00:00
auto shmem fuzzing (#1541)
* auto shmem fuzzing * print warning when forcing shmem fuzzing * typos * Shmem always * typo fix * fixes Co-authored-by: Dominik Maier <dmnk@google.com>
This commit is contained in:
@ -2132,6 +2132,20 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
}
|
||||
|
||||
if (afl->fsrv.out_file && afl->fsrv.use_shmem_fuzz) {
|
||||
|
||||
afl->fsrv.out_file = NULL;
|
||||
afl->fsrv.use_stdin = 0;
|
||||
if (!afl->unicorn_mode && !afl->fsrv.use_stdin) {
|
||||
|
||||
WARNF(
|
||||
"You specified -f or @@ on the command line but the target harness "
|
||||
"specified fuzz cases via shmem, switching to shmem!");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
deunicode_extras(afl);
|
||||
dedup_extras(afl);
|
||||
if (afl->extras_cnt) { OKF("Loaded a total of %u extras.", afl->extras_cnt); }
|
||||
|
Reference in New Issue
Block a user