You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
You can check whether ASAN detects these bugs on the exact same binary as you pass to centipede.
Just pass the input file as an argument.
./${FUZZ_TARGET}_asan input_file
If ASAN finds the bug, the problem is in Centipede.
If not, the problem is in the way we build/link the ASAN binary (which could still be the Centipede runner problem)
% echo -n z > z
% ./scarecrow_asan z
Centipede fuzz target runner; argv[0]: ./scarecrow_asan flags: (null)
Not using RLIMIT_AS; VmSize is 20480Gb, suspecting ASAN/MSAN/TSAN
%
So, either ASAN or Centipede runner, not the engine.
Description
Centipede
cannot detectASAN
errors. For example, given the following target program:ASAN
should find two errors:heap-use-after-free
atx[1] = 'a';
stack-buffer-overflow
atreturn data[size];
However
Centipede
fail to report either.Reproduction
This behaviour can be reproduced with Scarecrow (branch
asan_target
):Centipede
runs without reporting any error.Notes
(Hope this can help debug)
ASAN
can detect and report the errors above, I used the following simple PoE:Centipede
CAN detect and reportLeakSanitizer
errors in Scarecrow (branchlsan_target
) with the same build&run steps in Sec. Reproduction.Please let me know if there is anything else I can do to help : )
The text was updated successfully, but these errors were encountered: