more fixes and code-format

This commit is contained in:
van Hauser
2020-03-23 08:58:17 +01:00
parent 4263519479
commit 37603272be
3 changed files with 30 additions and 20 deletions

View File

@ -556,7 +556,7 @@ int main(int argc, char **argv, char **envp) {
else {
printf("afl-clang-lto" VERSION
" by Marc \"vanHauser\" Heuse <mh@mh-sec.de>\n");
" by Marc \"vanHauser\" Heuse <mh@mh-sec.de>\n");
}
@ -608,21 +608,31 @@ int main(int argc, char **argv, char **envp) {
"AFL_LLVM_LAF_SPLIT_FLOATS: transform floating point comp. to "
"cascaded "
"comp.\n"
"AFL_LLVM_LAF_SPLIT_COMPARES_BITW: size limit (default 8)\n"
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n"
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
"of "
"\"%s\".\n",
callname, BIN_PATH, BIN_PATH, LLVM_VERSION, LLVM_BINDIR);
"AFL_LLVM_LAF_SPLIT_COMPARES_BITW: size limit (default 8)\n",
callname, BIN_PATH, BIN_PATH);
if (strcmp(callname, "afl-clang-lto") == 0)
SAYF(
"Compiled with linker target \"%s\" and LTO flags \"%s\"\n\n"
"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",
AFL_REAL_LD, AFL_CLANG_FLTO);
LLVM_VERSION, LLVM_BINDIR, AFL_REAL_LD, AFL_CLANG_FLTO);
else
SAYF(
"AFL_LLVM_INSTRIM: use light weight instrumentation InsTrim\n"
"AFL_LLVM_INSTRIM_LOOPHEAD: optimize loop tracing for speed\n"
"AFL_LLVM_NGRAM_SIZE: use ngram prev_loc coverage\n"
"AFL_LLVM_CMPLOG: log operands of comparisons (RedQueen mutator)\n"
"\nafl-clang-fast was built for llvm %s with the llvm binary path "
"of \"%s\".\n",
LLVM_VERSION, LLVM_BINDIR);
SAYF("\n");