about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-common.h
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-02 22:28:16 +0200
committervan Hauser <vh@thc.org>2020-08-02 22:28:16 +0200
commit1cddd51662865ee407dcc93d6f1ef8ce443585a1 (patch)
tree3effe2c8c76ce44765bee2b4da33c61002fd8122 /llvm_mode/afl-llvm-common.h
parent6041b1c4866d11b443545f5b9d6f17ef5483304c (diff)
downloadafl++-1cddd51662865ee407dcc93d6f1ef8ce443585a1.tar.gz
refactoring debug/be_quiet, fatal on dont_optimize and instrument_file
Diffstat (limited to 'llvm_mode/afl-llvm-common.h')
-rw-r--r--llvm_mode/afl-llvm-common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm_mode/afl-llvm-common.h b/llvm_mode/afl-llvm-common.h
index 38e0c830..5b96be43 100644
--- a/llvm_mode/afl-llvm-common.h
+++ b/llvm_mode/afl-llvm-common.h
@@ -38,5 +38,14 @@ void                   initInstrumentList();
 bool                   isInInstrumentList(llvm::Function *F);
 unsigned long long int calculateCollisions(uint32_t edges);
 
+#ifndef IS_EXTERN
+  #define IS_EXTERN
+#endif
+
+IS_EXTERN int debug;
+IS_EXTERN int be_quiet;
+
+#undef IS_EXTERN
+
 #endif