diff options
| author | van Hauser <vh@thc.org> | 2021-01-18 20:18:18 +0100 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2021-01-18 20:18:18 +0100 |
| commit | 0b545aaeb45141e91273f2358ec457293c341c92 (patch) | |
| tree | 1daa2eef3c079df2a737832d92a02ff05bb56c96 /instrumentation/cmplog-instructions-pass.cc | |
| parent | 94a15b8ca790a87d88c7513282250257f32a48c0 (diff) | |
| download | afl++-0b545aaeb45141e91273f2358ec457293c341c92.tar.gz | |
use enums, support cmplog map collisions
Diffstat (limited to 'instrumentation/cmplog-instructions-pass.cc')
| -rw-r--r-- | instrumentation/cmplog-instructions-pass.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc index a74fb6c8..6ce1832f 100644 --- a/instrumentation/cmplog-instructions-pass.cc +++ b/instrumentation/cmplog-instructions-pass.cc @@ -420,6 +420,7 @@ bool CmpLogInstructions::hookInstrs(Module &M) { IRB.CreateCall(cmplogHookIns8, args); break; case 128: +#ifdef WORD_SIZE_64 if (max_size == 128) { IRB.CreateCall(cmplogHookIns16, args); @@ -430,6 +431,9 @@ bool CmpLogInstructions::hookInstrs(Module &M) { } +#endif + break; + default: break; } |
