about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-09-22 20:06:39 +0200
committervan Hauser <vh@thc.org>2020-09-22 20:06:39 +0200
commitf4a0407270fa9a928c7954f1a74bb63f8f24fd63 (patch)
treeeb84295e230c05fb358d7950bf8418de878faf16
parentdaa2285083a1046ff69e398366a858a2558134fb (diff)
downloadafl++-f4a0407270fa9a928c7954f1a74bb63f8f24fd63.tar.gz
add comment for future
-rw-r--r--instrumentation/afl-llvm-dict2file.so.cc4
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();