diff options
author | aflpp <aflpp@aflplus.plus> | 2020-09-22 02:04:23 +0200 |
---|---|---|
committer | aflpp <aflpp@aflplus.plus> | 2020-09-22 02:04:23 +0200 |
commit | 093754f6bfaaaac0ace8f223ff37cdd30b658b9e (patch) | |
tree | 8d274ac4b214723d79785030e2666674531c1975 | |
parent | 207cbd5cf7c1956969f42e89bfcb9a0ab451e351 (diff) | |
download | afl++-093754f6bfaaaac0ace8f223ff37cdd30b658b9e.tar.gz |
dict2file fix for integers > 64 bit
-rw-r--r-- | instrumentation/afl-llvm-dict2file.so.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/instrumentation/afl-llvm-dict2file.so.cc b/instrumentation/afl-llvm-dict2file.so.cc index 15accc88..abf8e868 100644 --- a/instrumentation/afl-llvm-dict2file.so.cc +++ b/instrumentation/afl-llvm-dict2file.so.cc @@ -195,7 +195,7 @@ bool AFLdict2filePass::runOnModule(Module &M) { Value * op = cmpInst->getOperand(1); ConstantInt *ilen = dyn_cast<ConstantInt>(op); - if (ilen) { + if (ilen && ilen->uge(0xffffffffffffffff) == false) { u64 val2 = 0, val = ilen->getZExtValue(); u32 len = 0; |