about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-02-16 09:51:31 +0100
committerGitHub <noreply@github.com>2021-02-16 09:51:31 +0100
commit686719cdca6ed7cc1090ab3d05020e4ad66f2bb7 (patch)
treeed0ac5ff80ceb30ee4b7dc8f2ee0b4663e69525a /src
parent145c673a80878d92013882eda6ef56e6948c397b (diff)
parent6caec2169cef890ba8a62715c2c26cc0608626e3 (diff)
downloadafl++-686719cdca6ed7cc1090ab3d05020e4ad66f2bb7.tar.gz
Merge pull request #746 from f0rki/cmplog-intcast-fix
CMPLOG llvm pass: use CreateIntCast to cast to the right integer type
Diffstat (limited to 'src')
-rw-r--r--src/afl-cc.c2
-rw-r--r--src/afl-fuzz-redqueen.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/afl-cc.c b/src/afl-cc.c
index 959c9a6f..d41f79a2 100644
--- a/src/afl-cc.c
+++ b/src/afl-cc.c
@@ -1875,8 +1875,6 @@ int main(int argc, char **argv, char **envp) {
 
   edit_params(argc, argv, envp);
 
-  if (lto_mode) { setenv("_AFL_LTO_COMPILE", "1", 1); }
-
   if (debug) {
 
     DEBUGF("cd '%s';", getthecwd());
diff --git a/src/afl-fuzz-redqueen.c b/src/afl-fuzz-redqueen.c
index cf65d3c1..275af9c8 100644
--- a/src/afl-fuzz-redqueen.c
+++ b/src/afl-fuzz-redqueen.c
@@ -1547,7 +1547,6 @@ static u8 cmp_fuzz(afl_state_t *afl, u32 key, u8 *orig_buf, u8 *buf, u8 *cbuf,
       is_n = 1;
 
   }
-
 #endif
 
   for (i = 0; i < loggeds; ++i) {