google / sanitizers

AddressSanitizer, ThreadSanitizer, MemorySanitizer
Other
11.41k stars 1.03k forks source link

Is Asan compatible with -fstack-protector-strong ? #1741

Open Desperado17 opened 6 months ago

Desperado17 commented 6 months ago

Greetings,

I have an issue with a g++ 9.3.0 on an Aarch64 embedded linux where asan detects a regular nullptr access and prints it to stderr. Right afterwards a " stack smashing detected" message is printed to stderr but no backtrace.

Is it possible that -fstack-protector-strong and asan interfere in some way? Since I get no backtrace and asan itself doesn't detect an overwrite.

Regards.