diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:47:07 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-02 18:47:07 +0200 |
commit | 2ae4ca91b48407add0e940ee13bd8b385e319a7a (patch) | |
tree | edf805e670fd89a5ca687bfa0102353b1974d3bb /qemu_mode | |
parent | e9d968e060f59df634409d2bbe58c279cf6eca00 (diff) | |
parent | c124576a4dc00e31ad5cad118098f46eaa29cd17 (diff) | |
download | afl++-2ae4ca91b48407add0e940ee13bd8b385e319a7a.tar.gz |
merge from master
Diffstat (limited to 'qemu_mode')
-rw-r--r-- | qemu_mode/libcompcov/README.md (renamed from qemu_mode/libcompcov/README.compcov) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qemu_mode/libcompcov/README.compcov b/qemu_mode/libcompcov/README.md index 9be13d88..5aaa3dd8 100644 --- a/qemu_mode/libcompcov/README.compcov +++ b/qemu_mode/libcompcov/README.md @@ -1,10 +1,8 @@ -================================================================ -strcmp() / memcmp() CompareCoverage library for AFLplusplus-QEMU -================================================================ +# strcmp() / memcmp() CompareCoverage library for afl++ QEMU Written by Andrea Fioraldi <andreafioraldi@gmail.com> -This Linux-only companion library allows you to instrument strcmp(), memcmp(), +This Linux-only companion library allows you to instrument `strcmp()`, `memcmp()`, and related functions to log the CompareCoverage of these libcalls. Use this with caution. While this can speedup a lot the bypass of hard @@ -22,10 +20,12 @@ library and QEMU but build it with afl-clang-fast and the laf-intel options. To use this library make sure to preload it with AFL_PRELOAD. +``` export AFL_PRELOAD=/path/to/libcompcov.so export AFL_COMPCOV_LEVEL=1 afl-fuzz -Q -i input -o output <your options> -- <target args> +``` The AFL_COMPCOV_LEVEL tells to QEMU and libcompcov how to log comaprisons. Level 1 logs just comparison with immediates / read-only memory and level 2 |