about summary refs log tree commit diff
path: root/llvm_mode/cmplog-routines-pass.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-30 17:28:21 +0200
committervan Hauser <vh@thc.org>2020-06-30 17:28:21 +0200
commit06264df16891070a09a31cd981a9dcaaf01de7c7 (patch)
tree8262c831d92121357c8bd15c2ee4440b5913c289 /llvm_mode/cmplog-routines-pass.cc
parent878b27af762b9d79d46c3de59ced749bb0e93d35 (diff)
downloadafl++-06264df16891070a09a31cd981a9dcaaf01de7c7.tar.gz
rename whitelist -> instrumentlist
Diffstat (limited to 'llvm_mode/cmplog-routines-pass.cc')
-rw-r--r--llvm_mode/cmplog-routines-pass.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/cmplog-routines-pass.cc b/llvm_mode/cmplog-routines-pass.cc
index 792a45b9..318193a4 100644
--- a/llvm_mode/cmplog-routines-pass.cc
+++ b/llvm_mode/cmplog-routines-pass.cc
@@ -59,7 +59,7 @@ class CmpLogRoutines : public ModulePass {
   static char ID;
   CmpLogRoutines() : ModulePass(ID) {
 
-    initWhitelist();
+    initInstrumentList();
 
   }
 
@@ -118,7 +118,7 @@ bool CmpLogRoutines::hookRtns(Module &M) {
   /* iterate over all functions, bbs and instruction and add suitable calls */
   for (auto &F : M) {
 
-    if (!isInWhitelist(&F)) continue;
+    if (!isInInstrumentList(&F)) continue;
 
     for (auto &BB : F) {