Skip to content

Commit 900b801

Browse files
committed
qemu_mode block coverage
1 parent 8c9b905 commit 900b801

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

docs/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
- qemuafl:
2626
- Better MIPS persistent mode support
2727
- `AFL_EXITPOINT` support added
28+
- `AFL_QEMU_BLOCK_COV` block coverage support added
2829
- afl-cmin:
2930
- New afl-cmin.py which is much faster, will be executed by default via
3031
afl-cmin if it executes successfully (thanks to @kcwu!)

docs/env_variables.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,10 @@ The QEMU wrapper used to instrument binary-only code supports several settings:
741741
of the basic blocks, which can be useful when dealing with very complex
742742
binaries.
743743
744+
- You can switch to block coverage that has less chances of colliding (but
745+
on the other hand coverage is on blocks, not edges) with
746+
`AFL_QEMU_BLOCK_COV`.
747+
744748
- Setting `AFL_QEMU_COMPCOV` enables the CompareCoverage tracing of all cmp
745749
and sub in x86 and x86_64. This is an alias of `AFL_COMPCOV_LEVEL=1` when
746750
`AFL_COMPCOV_LEVEL` is not specified.

include/envs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ static char *afl_environment_variables[] = {
103103
"AFL_PERSISTENT_RECORD", "AFL_POST_PROCESS_KEEP_ORIGINAL", "AFL_PRELOAD",
104104
"AFL_TARGET_ENV", "AFL_PYTHON_MODULE", "AFL_QEMU_CUSTOM_BIN",
105105
"AFL_QEMU_COMPCOV", "AFL_QEMU_COMPCOV_DEBUG", "AFL_QEMU_DEBUG_MAPS",
106-
"AFL_QEMU_DISABLE_CACHE", "AFL_QEMU_DRIVER_NO_HOOK", "AFL_QEMU_FORCE_DFL",
107-
"AFL_QEMU_PERSISTENT_ADDR", "AFL_QEMU_PERSISTENT_CNT",
106+
"AFL_QEMU_BLOCK_COV", "AFL_QEMU_DISABLE_CACHE", "AFL_QEMU_DRIVER_NO_HOOK",
107+
"AFL_QEMU_FORCE_DFL", "AFL_QEMU_PERSISTENT_ADDR", "AFL_QEMU_PERSISTENT_CNT",
108108
"AFL_QEMU_PERSISTENT_GPR", "AFL_QEMU_PERSISTENT_HOOK",
109109
"AFL_QEMU_PERSISTENT_MEM", "AFL_QEMU_PERSISTENT_RET",
110110
"AFL_QEMU_PERSISTENT_RETADDR_OFFSET", "AFL_QEMU_PERSISTENT_EXITS",

qemu_mode/QEMUAFL_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0d45c0b84a
1+
8c7f180c5a

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy