diff options
author | van Hauser <vh@thc.org> | 2020-02-28 00:19:36 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-02-28 00:19:36 +0100 |
commit | 4e37e12c06dda8914dac5175e2f02d3106a3ac9f (patch) | |
tree | e9dd6683b28e106d763b13983cba64f01c693090 /src/afl-fuzz-init.c | |
parent | d83ab141f62c19203e818536a18eb5f4acb8780a (diff) | |
download | afl++-4e37e12c06dda8914dac5175e2f02d3106a3ac9f.tar.gz |
code-format
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 1858fabd..15dd4d14 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -1972,25 +1972,25 @@ void check_binary(u8* fname) { if (!qemu_mode && !unicorn_mode && !dumb_mode && !memmem(f_data, f_len, SHM_ENV_VAR, strlen(SHM_ENV_VAR) + 1)) { - SAYF( - "\n" cLRD "[-] " cRST - "Looks like the target binary is not instrumented! The fuzzer depends " - "on\n" - " compile-time instrumentation to isolate interesting test cases " - "while\n" - " mutating the input data. For more information, and for tips on " - "how to\n" - " instrument binaries, please see %s/README.md.\n\n" - - " When source code is not available, you may be able to leverage " - "QEMU\n" - " mode support. Consult the README.md for tips on how to enable this.\n" - - " (It is also possible to use afl-fuzz as a traditional, \"dumb\" " - "fuzzer.\n" - " For that, you can use the -n option - but expect much worse " - "results.)\n", - doc_path); + SAYF("\n" cLRD "[-] " cRST + "Looks like the target binary is not instrumented! The fuzzer depends " + "on\n" + " compile-time instrumentation to isolate interesting test cases " + "while\n" + " mutating the input data. For more information, and for tips on " + "how to\n" + " instrument binaries, please see %s/README.md.\n\n" + + " When source code is not available, you may be able to leverage " + "QEMU\n" + " mode support. Consult the README.md for tips on how to enable " + "this.\n" + + " (It is also possible to use afl-fuzz as a traditional, \"dumb\" " + "fuzzer.\n" + " For that, you can use the -n option - but expect much worse " + "results.)\n", + doc_path); FATAL("No instrumentation detected"); |