aboutsummaryrefslogtreecommitdiff
path: root/instrumentation
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-19 14:03:10 +0100
committervan Hauser <vh@thc.org>2021-01-19 14:03:10 +0100
commit0367f6c72339ba655956d7e17b0b27c92b22d781 (patch)
treefae07efa99146da1002c59b7d571d04c21c400e5 /instrumentation
parent292f91a55f6af5e06b41b429e55f65b7df4d8d16 (diff)
downloadAFLplusplus-0367f6c72339ba655956d7e17b0b27c92b22d781.tar.gz
cleanup and rename _DISCARD->_SKIP
Diffstat (limited to 'instrumentation')
-rw-r--r--instrumentation/README.instrument_list.md2
-rw-r--r--instrumentation/afl-compiler-rt.o.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/README.instrument_list.md b/instrumentation/README.instrument_list.md
index 83197954..b47b50f6 100644
--- a/instrumentation/README.instrument_list.md
+++ b/instrumentation/README.instrument_list.md
@@ -41,7 +41,7 @@ in any function where you want:
* `__AFL_COVERAGE_ON();` - enable coverage from this point onwards
* `__AFL_COVERAGE_OFF();` - disable coverage from this point onwards
* `__AFL_COVERAGE_DISCARD();` - reset all coverage gathered until this point
- * `__AFL_COVERAGE_ABORT();` - mark this test case as unimportant. Whatever happens, afl-fuzz will ignore it.
+ * `__AFL_COVERAGE_SKIP();` - mark this test case as unimportant. Whatever happens, afl-fuzz will ignore it.
## 3) Selective instrumenation with AFL_LLVM_ALLOWLIST/AFL_LLVM_DENYLIST
diff --git a/instrumentation/afl-compiler-rt.o.c b/instrumentation/afl-compiler-rt.o.c
index b735d8df..e31bff16 100644
--- a/instrumentation/afl-compiler-rt.o.c
+++ b/instrumentation/afl-compiler-rt.o.c
@@ -1429,7 +1429,7 @@ void __afl_coverage_discard() {
}
// discard the testcase
-void __afl_coverage_abort() {
+void __afl_coverage_skip() {
__afl_coverage_discard();