Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22035

Why does address sanitizer overlook seg faults sometimes?

$
0
0

Been using fsanitize=address while compiling C programs, in order to track seg faults for about a year now. Every now and then I encounter a strange behavior, my program would be seg faulting if compiled withoutfsanitize=address but when I compile withfsanitize=address this seg fault disappears. I have looked around the web but haven't been able to figure out exactly why this might be happening. I know that address sanitizer is not a perfect program but just don't know exactly why it has this behavior.


Viewing all articles
Browse latest Browse all 22035

Trending Articles