aboutsummaryrefslogtreecommitdiff
path: root/llvm_mode/split-switches-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-06-30 23:34:26 +0200
committerGitHub <noreply@github.com>2020-06-30 23:34:26 +0200
commit9d5007b18e41f17c395fcfc5fc0a8c8c87f4f75d (patch)
tree8e368959e6d86214b6a31c10c49e3e41578633d2 /llvm_mode/split-switches-pass.so.cc
parent3f1288e2f91bcb0e9176761ceb9662b187f3f508 (diff)
downloadafl++-9d5007b18e41f17c395fcfc5fc0a8c8c87f4f75d.tar.gz
Big renaming (#429)
* first commit, looks good * fix ascii percentage calc * fix ascii percentage calc * modify txt configs for test * further refinement * Revert "Merge branch 'text_inputs' into dev" This reverts commit 6d9b29daca46c8912aa9ddf6c053bc8554e9e9f7, reversing changes made to 07648f75ea5ef8f03a92db0c7566da8c229dc27b. * blacklist -> ignore renaming * rename whitelist -> instrumentlist * reduce the time interval in which the secondaries sync Co-authored-by: root <root@localhost.localdomain>
Diffstat (limited to 'llvm_mode/split-switches-pass.so.cc')
-rw-r--r--llvm_mode/split-switches-pass.so.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_mode/split-switches-pass.so.cc b/llvm_mode/split-switches-pass.so.cc
index 4a6ca3d9..44075c94 100644
--- a/llvm_mode/split-switches-pass.so.cc
+++ b/llvm_mode/split-switches-pass.so.cc
@@ -60,7 +60,7 @@ class SplitSwitchesTransform : public ModulePass {
static char ID;
SplitSwitchesTransform() : ModulePass(ID) {
- initWhitelist();
+ initInstrumentList();
}
@@ -312,7 +312,7 @@ bool SplitSwitchesTransform::splitSwitches(Module &M) {
* all switches to switches vector for later processing */
for (auto &F : M) {
- if (!isInWhitelist(&F)) continue;
+ if (!isInInstrumentList(&F)) continue;
for (auto &BB : F) {