LibAFL icon indicating copy to clipboard operation
LibAFL copied to clipboard

Clang + shared ASAN + LibAFL is incompatible

Open maxammann opened this issue 2 years ago • 3 comments

I opened an issue in AFL++ which is also present in LibAFL because code was copy&pasted. So please refer to this bug report and replace "AFL++" with "LibAFL": https://github.com/AFLplusplus/AFLplusplus/issues/1716

This issue was made reachable in LibAFL 0.9. With 0.9 fuzzer binaries using libafl_targets include the __asan_region_is_poisoned symbol. With 0.8 it was not included.

maxammann avatar Apr 26 '23 19:04 maxammann

Shared ASAN is generally not recommended, no?

addisoncrump avatar May 09 '23 12:05 addisoncrump

Shared ASAN is generally not recommended, no?

Shared ASAN is default in GCC. In Clang static is default.

So it depends who you ask :)

maxammann avatar May 09 '23 15:05 maxammann

gcc :skull:

addisoncrump avatar May 09 '23 16:05 addisoncrump