about summary refs log tree commit diff
path: root/utils/aflpp_driver/aflpp_qemu_driver.c
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-07-07 16:22:57 +0200
committervanhauser-thc <vh@thc.org>2021-07-07 16:22:57 +0200
commit8dbe87bdf6c848088cd51923e445b92b9f839956 (patch)
tree00c621e6b9e8e9704d820c100a0a53111cd2ff4a /utils/aflpp_driver/aflpp_qemu_driver.c
parentf1bcd378a2e55ee1559dde0d46e2bc32882c5b39 (diff)
downloadafl++-8dbe87bdf6c848088cd51923e445b92b9f839956.tar.gz
print warning for libfuzzer qemu driver
Diffstat (limited to 'utils/aflpp_driver/aflpp_qemu_driver.c')
-rw-r--r--utils/aflpp_driver/aflpp_qemu_driver.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/aflpp_driver/aflpp_qemu_driver.c b/utils/aflpp_driver/aflpp_qemu_driver.c
index 79de5af6..efa80bca 100644
--- a/utils/aflpp_driver/aflpp_qemu_driver.c
+++ b/utils/aflpp_driver/aflpp_qemu_driver.c
@@ -27,6 +27,9 @@ int main(int argc, char **argv) {
 
   } else {
 
+    fprintf(stderr
+            "Using shared-memory testcases. To read via stdin, set "
+            "AFL_QEMU_DRIVER_NO_HOOK=1.\n");
     uint8_t dummy_input[1024000] = {0};
     LLVMFuzzerTestOneInput(dummy_input, 1);