about summary refs log tree commit diff
path: root/instrumentation/afl-llvm-lto-instrumentation.so.cc
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-07 05:33:02 +0100
committervanhauser-thc <vh@thc.org>2021-02-07 05:33:02 +0100
commit209c5ba4657b641bf261da7ac9ce7d3f809109c2 (patch)
tree9aa88f72ad623b0b7bc3829a5fb94d19d2cde2ac /instrumentation/afl-llvm-lto-instrumentation.so.cc
parent01327ad301afbcc71b3ac597bc6e093839c5f469 (diff)
downloadafl++-209c5ba4657b641bf261da7ac9ce7d3f809109c2.tar.gz
larger map, stats reload fix, code format
Diffstat (limited to 'instrumentation/afl-llvm-lto-instrumentation.so.cc')
-rw-r--r--instrumentation/afl-llvm-lto-instrumentation.so.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-lto-instrumentation.so.cc b/instrumentation/afl-llvm-lto-instrumentation.so.cc
index fa494f44..841d52e5 100644
--- a/instrumentation/afl-llvm-lto-instrumentation.so.cc
+++ b/instrumentation/afl-llvm-lto-instrumentation.so.cc
@@ -69,7 +69,8 @@ class AFLLTOPass : public ModulePass {
 
     if (getenv("AFL_DEBUG")) debug = 1;
     if ((ptr = getenv("AFL_LLVM_LTO_STARTID")) != NULL)
-      if ((afl_global_id = (uint32_t)atoi(ptr)) < 0 || afl_global_id >= MAP_SIZE)
+      if ((afl_global_id = (uint32_t)atoi(ptr)) < 0 ||
+          afl_global_id >= MAP_SIZE)
         FATAL("AFL_LLVM_LTO_STARTID value of \"%s\" is not between 0 and %u\n",
               ptr, MAP_SIZE - 1);