diff options
| author | vanhauser-thc <vh@thc.org> | 2021-02-07 07:51:29 +0100 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2021-02-07 07:51:29 +0100 |
| commit | 0ad56167c53ae660d40ccc6cdedb39f0a52eefcd (patch) | |
| tree | df45cbcd663a12cc96670cf8e72ba72f90fa37ef /instrumentation/afl-llvm-pass.so.cc | |
| parent | aeb7d7048371cd91ab9280c3958f1c35e5d5e758 (diff) | |
| download | afl++-0ad56167c53ae660d40ccc6cdedb39f0a52eefcd.tar.gz | |
fix scan-build issues
Diffstat (limited to 'instrumentation/afl-llvm-pass.so.cc')
| -rw-r--r-- | instrumentation/afl-llvm-pass.so.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-pass.so.cc b/instrumentation/afl-llvm-pass.so.cc index 57ff3b47..16fd9c94 100644 --- a/instrumentation/afl-llvm-pass.so.cc +++ b/instrumentation/afl-llvm-pass.so.cc @@ -538,6 +538,7 @@ bool AFLCoverage::runOnModule(Module &M) { Store = IRB.CreateStore(ConstantInt::get(Int32Ty, cur_loc >> 1), AFLPrevLoc); + Store->setMetadata(M.getMDKindID("nosanitize"), MDNode::get(C, None)); } |
