aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-03 15:53:54 +0100
committervanhauser-thc <vh@thc.org>2024-02-03 15:53:54 +0100
commitdc151caa1839162e470e003837e630db6d5d543e (patch)
treeb387a7e0958aedc2fa88404556740c5693f0083d /src
parente1d7f4af35b6ac1f654aa42744a9c2e1b7b6dbb7 (diff)
downloadafl++-dc151caa1839162e470e003837e630db6d5d543e.tar.gz
add lto caller instrumentation
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 7d33b9f5..4d586ce8 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -2921,11 +2921,12 @@ static void maybe_usage(aflcc_state_t *aflcc, int argc, char **argv) {
" AFL_LLVM_DOCUMENT_IDS: write all edge IDs and the corresponding "
"functions\n"
" into this file (LTO mode)\n"
+ " AFL_LLVM_LTO_CALLER: activate CALLER/CTX instrumentation\n"
+ " AFL_LLVM_LTO_CALLER_DEPTH: skip how many empty functions\n"
" AFL_LLVM_LTO_DONTWRITEID: don't write the highest ID used to a "
"global var\n"
" AFL_LLVM_LTO_STARTID: from which ID to start counting from for "
- "a "
- "bb\n"
+ "a bb\n"
" AFL_REAL_LD: use this lld linker instead of the compiled in "
"path\n"
" AFL_LLVM_LTO_SKIPINIT: don't inject initialization code "