diff options
| author | vanhauser-thc <vh@thc.org> | 2021-02-07 05:33:02 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2021-02-07 05:33:02 +0100 |
| commit | 209c5ba4657b641bf261da7ac9ce7d3f809109c2 (patch) | |
| tree | 9aa88f72ad623b0b7bc3829a5fb94d19d2cde2ac /instrumentation/afl-llvm-lto-instrumentation.so.cc | |
| parent | 01327ad301afbcc71b3ac597bc6e093839c5f469 (diff) | |
| download | afl++-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.cc | 3 |
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); |
