diff options
author | vanhauser-thc <vh@thc.org> | 2021-12-16 10:41:33 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-12-16 10:41:33 +0100 |
commit | 3cb7319ccdb98dcc6b023dbead603a4450ac4541 (patch) | |
tree | 42a51b12f3a018e729cca0826feccd49f5536e2e | |
parent | 5f70bc54043a47c232be83ca77f53ddb6bb81908 (diff) | |
download | afl++-3cb7319ccdb98dcc6b023dbead603a4450ac4541.tar.gz |
fix for older llvm
-rw-r--r-- | instrumentation/cmplog-instructions-pass.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc index 6656bf71..a2083a33 100644 --- a/instrumentation/cmplog-instructions-pass.cc +++ b/instrumentation/cmplog-instructions-pass.cc @@ -478,6 +478,7 @@ bool CmpLogInstructions::hookInstrs(Module &M) { */ if (is_fp) { +/* ConstantFP *i0 = dyn_cast<ConstantFP>(op0); ConstantFP *i1 = dyn_cast<ConstantFP>(op1); // BUG FIXME TODO: this is null ... but why? @@ -497,6 +498,7 @@ bool CmpLogInstructions::hookInstrs(Module &M) { last_val1 = cur_val; } +*/ } else { |