mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-08 16:21:32 +00:00
better man page for afl-clang-*
This commit is contained in:
parent
37603272be
commit
94e30002e7
@ -359,7 +359,7 @@ vpath % ..
|
|||||||
@echo Apache License Version 2.0, January 2004 >> ../$@
|
@echo Apache License Version 2.0, January 2004 >> ../$@
|
||||||
ln -sf afl-clang-fast.8 ../afl-clang-fast++.8
|
ln -sf afl-clang-fast.8 ../afl-clang-fast++.8
|
||||||
ifneq "$(AFL_CLANG_FLTO)" ""
|
ifneq "$(AFL_CLANG_FLTO)" ""
|
||||||
ifeq "$(LLVM_LTO)" "0"
|
ifeq "$(LLVM_LTO)" "1"
|
||||||
ln -sf afl-clang-fast.8 ../afl-clang-lto.8
|
ln -sf afl-clang-fast.8 ../afl-clang-lto.8
|
||||||
ln -sf afl-clang-fast.8 ../afl-clang-lto++.8
|
ln -sf afl-clang-fast.8 ../afl-clang-lto++.8
|
||||||
endif
|
endif
|
||||||
|
@ -611,28 +611,33 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
"AFL_LLVM_LAF_SPLIT_COMPARES_BITW: size limit (default 8)\n",
|
"AFL_LLVM_LAF_SPLIT_COMPARES_BITW: size limit (default 8)\n",
|
||||||
callname, BIN_PATH, BIN_PATH);
|
callname, BIN_PATH, BIN_PATH);
|
||||||
|
|
||||||
if (strcmp(callname, "afl-clang-lto") == 0)
|
SAYF(
|
||||||
SAYF(
|
"\nafl-clang-fast specific environment variables:\n"
|
||||||
"AFL_LLVM_LTO_STARTID: from which ID to start counting from for a "
|
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
|
||||||
"bb\n"
|
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
|
||||||
"AFL_LLVM_LTO_DONTWRITEID: don't write the highest ID used to a "
|
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
|
||||||
"global var\n"
|
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n");
|
||||||
"AFL_REAL_LD: use this linker instead of the compiled in path\n"
|
|
||||||
"AFL_LD_PASSTHROUGH: do not perform instrumentation (for configure "
|
#ifdef AFL_CLANG_FLTO
|
||||||
"scripts)\n"
|
SAYF(
|
||||||
"\nafl-clang-lto was built for llvm %s with the llvm binary path "
|
"\nafl-clang-lto specific environment variables:\n"
|
||||||
"of \"%s\"; linker target \"%s\" and LTO flags \"%s\"\n"
|
"AFL_LLVM_LTO_STARTID: from which ID to start counting from for a "
|
||||||
"If anything fails - be sure to read README.lto.md!\n\n",
|
"bb\n"
|
||||||
LLVM_VERSION, LLVM_BINDIR, AFL_REAL_LD, AFL_CLANG_FLTO);
|
"AFL_LLVM_LTO_DONTWRITEID: don't write the highest ID used to a "
|
||||||
else
|
"global var\n"
|
||||||
SAYF(
|
"AFL_REAL_LD: use this linker instead of the compiled in path\n"
|
||||||
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
|
"AFL_LD_PASSTHROUGH: do not perform instrumentation (for configure "
|
||||||
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
|
"scripts)\n"
|
||||||
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
|
"\nafl-clang-lto was built with linker target \"%s\" and LTO flags "
|
||||||
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n"
|
"\"%s\"\n"
|
||||||
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
|
"If anything fails - be sure to read README.lto.md!\n",
|
||||||
"of \"%s\".\n",
|
AFL_REAL_LD, AFL_CLANG_FLTO);
|
||||||
LLVM_VERSION, LLVM_BINDIR);
|
#endif
|
||||||
|
|
||||||
|
SAYF(
|
||||||
|
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
|
||||||
|
"of \"%s\".\n",
|
||||||
|
LLVM_VERSION, LLVM_BINDIR);
|
||||||
|
|
||||||
SAYF("\n");
|
SAYF("\n");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user