diff options
author | van Hauser <vh@thc.org> | 2020-08-02 22:28:16 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-08-02 22:28:16 +0200 |
commit | 1cddd51662865ee407dcc93d6f1ef8ce443585a1 (patch) | |
tree | 3effe2c8c76ce44765bee2b4da33c61002fd8122 /llvm_mode/afl-llvm-lto-instrumentation.so.cc | |
parent | 6041b1c4866d11b443545f5b9d6f17ef5483304c (diff) | |
download | afl++-1cddd51662865ee407dcc93d6f1ef8ce443585a1.tar.gz |
refactoring debug/be_quiet, fatal on dont_optimize and instrument_file
Diffstat (limited to 'llvm_mode/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r-- | llvm_mode/afl-llvm-lto-instrumentation.so.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm_mode/afl-llvm-lto-instrumentation.so.cc b/llvm_mode/afl-llvm-lto-instrumentation.so.cc index d81b35f4..5686eb56 100644 --- a/llvm_mode/afl-llvm-lto-instrumentation.so.cc +++ b/llvm_mode/afl-llvm-lto-instrumentation.so.cc @@ -86,9 +86,9 @@ class AFLLTOPass : public ModulePass { bool runOnModule(Module &M) override; protected: - int afl_global_id = 1, debug = 0, autodictionary = 1; + int afl_global_id = 1, autodictionary = 1; uint32_t function_minimum_size = 1; - uint32_t be_quiet = 0, inst_blocks = 0, inst_funcs = 0, total_instr = 0; + uint32_t inst_blocks = 0, inst_funcs = 0, total_instr = 0; uint64_t map_addr = 0x10000; char * skip_nozero = NULL; @@ -207,7 +207,8 @@ bool AFLLTOPass::runOnModule(Module &M) { if (debug) fprintf(stderr, "DEBUG: Function %s is not in a source file that was specified " - "in the instrument file list\n", F.getName().str().c_str()); + "in the instrument file list\n", + F.getName().str().c_str()); continue; } |