mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 18:48:08 +00:00
more fixes and code-format
This commit is contained in:
@ -335,7 +335,7 @@ endif
|
|||||||
if [ -f ../split-switches-pass.so ]; then set -e; install -m 755 ../split-switches-pass.so $${DESTDIR}$(HELPER_PATH); fi
|
if [ -f ../split-switches-pass.so ]; then set -e; install -m 755 ../split-switches-pass.so $${DESTDIR}$(HELPER_PATH); fi
|
||||||
if [ -f ../cmplog-instructions-pass.so ]; then set -e; install -m 755 ../cmplog-*-pass.so $${DESTDIR}$(HELPER_PATH); fi
|
if [ -f ../cmplog-instructions-pass.so ]; then set -e; install -m 755 ../cmplog-*-pass.so $${DESTDIR}$(HELPER_PATH); fi
|
||||||
set -e; if [ -f ../afl-clang-fast ] ; then ln -sf ../afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf ../afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang++ ; else ln -sf ../afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf ../afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang++; fi
|
set -e; if [ -f ../afl-clang-fast ] ; then ln -sf ../afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf ../afl-clang-fast $${DESTDIR}$(BIN_PATH)/afl-clang++ ; else ln -sf ../afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang ; ln -sf ../afl-gcc $${DESTDIR}$(BIN_PATH)/afl-clang++; fi
|
||||||
install -m 644 -T README.*.md $${DESTDIR}$(DOC_PATH)/
|
install -m 644 README.*.md $${DESTDIR}$(DOC_PATH)/
|
||||||
install -m 644 -T README.md $${DESTDIR}$(DOC_PATH)/README.llvm_mode.md
|
install -m 644 -T README.md $${DESTDIR}$(DOC_PATH)/README.llvm_mode.md
|
||||||
|
|
||||||
vpath % ..
|
vpath % ..
|
||||||
|
@ -608,21 +608,31 @@ int main(int argc, char **argv, char **envp) {
|
|||||||
"AFL_LLVM_LAF_SPLIT_FLOATS: transform floating point comp. to "
|
"AFL_LLVM_LAF_SPLIT_FLOATS: transform floating point comp. to "
|
||||||
"cascaded "
|
"cascaded "
|
||||||
"comp.\n"
|
"comp.\n"
|
||||||
"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);
|
||||||
|
|
||||||
|
if (strcmp(callname, "afl-clang-lto") == 0)
|
||||||
|
SAYF(
|
||||||
|
"AFL_LLVM_LTO_STARTID: from which ID to start counting from for a "
|
||||||
|
"bb\n"
|
||||||
|
"AFL_LLVM_LTO_DONTWRITEID: don't write the highest ID used to a "
|
||||||
|
"global var\n"
|
||||||
|
"AFL_REAL_LD: use this linker instead of the compiled in path\n"
|
||||||
|
"AFL_LD_PASSTHROUGH: do not perform instrumentation (for configure "
|
||||||
|
"scripts)\n"
|
||||||
|
"\nafl-clang-lto was built for llvm %s with the llvm binary path "
|
||||||
|
"of \"%s\"; linker target \"%s\" and LTO flags \"%s\"\n"
|
||||||
|
"If anything fails - be sure to read README.lto.md!\n\n",
|
||||||
|
LLVM_VERSION, LLVM_BINDIR, AFL_REAL_LD, AFL_CLANG_FLTO);
|
||||||
|
else
|
||||||
|
SAYF(
|
||||||
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
|
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
|
||||||
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
|
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
|
||||||
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
|
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
|
||||||
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n"
|
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n"
|
||||||
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
|
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
|
||||||
"of "
|
"of \"%s\".\n",
|
||||||
"\"%s\".\n",
|
LLVM_VERSION, LLVM_BINDIR);
|
||||||
callname, BIN_PATH, BIN_PATH, LLVM_VERSION, LLVM_BINDIR);
|
|
||||||
|
|
||||||
if (strcmp(callname, "afl-clang-lto") == 0)
|
|
||||||
SAYF(
|
|
||||||
"Compiled with linker target \"%s\" and LTO flags \"%s\"\n\n"
|
|
||||||
"If anything fails - be sure to read README.lto.md!\n\n",
|
|
||||||
AFL_REAL_LD, AFL_CLANG_FLTO);
|
|
||||||
|
|
||||||
SAYF("\n");
|
SAYF("\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user