about summary refs log tree commit diff
path: root/llvm_mode/afl-llvm-pass.so.cc
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-22 01:30:21 +0200
committerGitHub <noreply@github.com>2020-08-22 01:30:21 +0200
commit42ef1968a530d5fe598d53e93431dfcff3727b4b (patch)
treefe11282ec4997fd685a5aa8766d4d09aa82b89de /llvm_mode/afl-llvm-pass.so.cc
parent572944d7267e3612ef8da17a180bc3d8f1a958a7 (diff)
parent5ec91fce23ddf3b81076ea4cb4a4553c9c302c3e (diff)
downloadafl++-42ef1968a530d5fe598d53e93431dfcff3727b4b.tar.gz
Merge pull request #521 from AFLplusplus/dev
Push to stable to fix wrong free on exit
Diffstat (limited to 'llvm_mode/afl-llvm-pass.so.cc')
-rw-r--r--llvm_mode/afl-llvm-pass.so.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm_mode/afl-llvm-pass.so.cc b/llvm_mode/afl-llvm-pass.so.cc
index 0206080f..86c6f3c6 100644
--- a/llvm_mode/afl-llvm-pass.so.cc
+++ b/llvm_mode/afl-llvm-pass.so.cc
@@ -182,10 +182,6 @@ bool AFLCoverage::runOnModule(Module &M) {
 #endif
   skip_nozero = getenv("AFL_LLVM_SKIP_NEVERZERO");
 
-  if (getenv("AFL_LLVM_INSTRIM_SKIPSINGLEBLOCK") ||
-      getenv("AFL_LLVM_SKIPSINGLEBLOCK"))
-    function_minimum_size = 2;
-
   unsigned PrevLocSize = 0;
 
   char *ngram_size_str = getenv("AFL_LLVM_NGRAM_SIZE");