diff options
author | van Hauser <vh@thc.org> | 2023-10-23 09:14:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-23 09:14:18 +0200 |
commit | 85c5b5218c6a7b2289f309fbd1625a5d0a602a00 (patch) | |
tree | 148f0c2c459c972f56a7a8f5bef3d5205aaf6d83 /instrumentation/afl-llvm-pass.so.cc | |
parent | d09950f4bb98431576b872436f0fbf773ab895db (diff) | |
parent | eaa6a1754a2efa54903959a5b3ce3d433dcdea37 (diff) | |
download | afl++-85c5b5218c6a7b2289f309fbd1625a5d0a602a00.tar.gz |
Merge pull request #1896 from AFLplusplus/dev
push to stable
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
-rw-r--r-- | instrumentation/afl-llvm-pass.so.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc index c59324fd..052488a9 100644 --- a/instrumentation/afl-llvm-pass.so.cc +++ b/instrumentation/afl-llvm-pass.so.cc @@ -552,7 +552,7 @@ bool AFLCoverage::runOnModule(Module &M) { #endif { - // load the context ID of the previous function and write to to a + // load the context ID of the previous function and write to a // local variable on the stack LoadInst *PrevCtxLoad = IRB.CreateLoad( #if LLVM_VERSION_MAJOR >= 14 @@ -634,7 +634,7 @@ bool AFLCoverage::runOnModule(Module &M) { /* There is a problem with Ubuntu 18.04 and llvm 6.0 (see issue #63). The inline function successors() is not inlined and also not found at runtime - :-( As I am unable to detect Ubuntu18.04 heree, the next best thing is to + :-( As I am unable to detect Ubuntu18.04 here, the next best thing is to disable this optional optimization for LLVM 6.0.0 and Linux */ #if !(LLVM_VERSION_MAJOR == 6 && LLVM_VERSION_MINOR == 0) || !defined __linux__ // only instrument if this basic block is the destination of a previous |