diff options
author | van Hauser <vh@thc.org> | 2019-07-14 20:02:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-14 20:02:20 +0200 |
commit | da8e03e18a1d01cb4ea26fc8efb25c4e7708a0b5 (patch) | |
tree | 21e2f2e0bbe93341c3813d96576c5e83f62195d0 /llvm_mode/split-compares-pass.so.cc | |
parent | 5c0830f62857bc00d1da386e3d204932f544a6ba (diff) | |
parent | 4a80dbdd10aedd3a3e70a0631aeb4e01438b634c (diff) | |
download | afl++-da8e03e18a1d01cb4ea26fc8efb25c4e7708a0b5.tar.gz |
Merge branch 'master' into shared_memory_mmap_refactor
Diffstat (limited to 'llvm_mode/split-compares-pass.so.cc')
-rw-r--r-- | llvm_mode/split-compares-pass.so.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm_mode/split-compares-pass.so.cc b/llvm_mode/split-compares-pass.so.cc index 25ccb3b4..c025628f 100644 --- a/llvm_mode/split-compares-pass.so.cc +++ b/llvm_mode/split-compares-pass.so.cc @@ -477,6 +477,8 @@ bool SplitComparesTransform::runOnModule(Module &M) { int bitw = 64; char* bitw_env = getenv("LAF_SPLIT_COMPARES_BITW"); + if (!bitw_env) + bitw_env = getenv("AFL_LLVM_LAF_SPLIT_COMPARES_BITW"); if (bitw_env) { bitw = atoi(bitw_env); } @@ -485,7 +487,8 @@ bool SplitComparesTransform::runOnModule(Module &M) { simplifySignedness(M); - errs() << "Split-compare-pass by laf.intel@gmail.com\n"; + if (getenv("AFL_QUIET") == NULL) + errs() << "Split-compare-pass by laf.intel@gmail.com\n"; switch (bitw) { case 64: |