diff options
| author | van Hauser <vh@thc.org> | 2020-09-22 20:06:39 +0200 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-09-22 20:06:39 +0200 |
| commit | f4a0407270fa9a928c7954f1a74bb63f8f24fd63 (patch) | |
| tree | eb84295e230c05fb358d7950bf8418de878faf16 /instrumentation/afl-llvm-dict2file.so.cc | |
| parent | daa2285083a1046ff69e398366a858a2558134fb (diff) | |
| download | afl++-f4a0407270fa9a928c7954f1a74bb63f8f24fd63.tar.gz | |
add comment for future
Diffstat (limited to 'instrumentation/afl-llvm-dict2file.so.cc')
| -rw-r--r-- | instrumentation/afl-llvm-dict2file.so.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc index abf8e868..aab20661 100644 --- a/instrumentation/afl-llvm-dict2file.so.cc +++ b/instrumentation/afl-llvm-dict2file.so.cc @@ -195,6 +195,10 @@ bool AFLdict2filePass::runOnModule(Module &M) { Value * op = cmpInst->getOperand(1); ConstantInt *ilen = dyn_cast<ConstantInt>(op); + /* We skip > 64 bit integers. why? first because their value is + difficult to obtain, and second because clang does not support + literals > 64 bit (as of llvm 12) */ + if (ilen && ilen->uge(0xffffffffffffffff) == false) { u64 val2 = 0, val = ilen->getZExtValue(); |
