Closed Nambers closed 2 months ago
matching on filenames is difficult because filenames are not always present during compilation, do not ask me why. depends on -g (obviously) but also unknown things, maybe llvm version, current state of the moon etc. so likely in your case no filenames are present when the code is compiled and therefore nothing matches = no instrumentation. What always works is matching on function names.
matching on filenames is difficult because filenames are not always present during compilation, do not ask me why. depends on -g (obviously) but also unknown things, maybe llvm version, current state of the moon etc. so likely in your case no filenames are present when the code is compiled and therefore nothing matches = no instrumentation. What always works is matching on function names.
hmm gotcha. idk why but seems afl-fuzz can run smoothly under persistent mode
IMPORTANT
dev
branch.out/default/fuzzer_setup
.Thank you for making AFL++ better!
Describe the bug After using partial instrumentation with allow list, afl-fuzz complain about
no instrument detected
.To Reproduce My building command:
AFL_LLVM_ALLOWLIST='$WORK_DIR/afl-allow-list.txt' make -s altinstall -j$USING_CORE
withafl-clang-lto
I'd observe there are afl compiler output when I do the make and the content in allow-list are absolute file paths separated by newline.Expected behavior Fuzzing normally.
Screen output/Screenshots
Additional context Is there anything I can do to check?