diff options
author | Dominik Maier <domenukk@gmail.com> | 2020-01-15 02:38:45 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-01-15 02:38:45 +0100 |
commit | a0e6b98ce8c67270b4a6d31121896fea47b6c2a7 (patch) | |
tree | 320214b235d7c10e64d29e55b1b0a0a74c280081 /src | |
parent | 4b83b2696ee56884cd7a7e5e10517eb186a116e5 (diff) | |
download | afl++-a0e6b98ce8c67270b4a6d31121896fea47b6c2a7.tar.gz |
persistent mode harness
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 5fe3689e..48b0d8ac 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1940,17 +1940,17 @@ void check_binary(u8* fname) { } - if ((qemu_mode || unicorn_mode) && + if ((qemu_mode) && memmem(f_data, f_len, SHM_ENV_VAR, strlen(SHM_ENV_VAR) + 1)) { SAYF("\n" cLRD "[-] " cRST "This program appears to be instrumented with afl-gcc, but is being " "run in\n" - " QEMU or Unicorn mode (-Q or -U). This is probably not what you " + " QEMU mode (-Q). This is probably not what you " "want -\n" " this setup will be slow and offer no practical benefits.\n"); - FATAL("Instrumentation found in -Q or -U mode"); + FATAL("Instrumentation found in -Q mode"); } |