[cfe-dev] Why does integer overflow sanitizer exits the program with zero exit code
Riyad Parvez via cfe-dev
cfe-dev at lists.llvm.org
Thu Oct 22 11:52:22 PDT 2015
Hi All,
With "-fsanitize=integer" flag, when an overflow is detected the program is
terminated with zero exit code. But with "-fsanitize=address" flag, the
program terminates with non-zero exit code. I think the address sanitizer
behavior of non-zero exit code is more intuitive since the program did exit
in error. Is there any reason integer overflow sanitizer exits the program
with zero exit code?
Thanks,
Riyad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20151022/388644ed/attachment.html>
More information about the cfe-dev
mailing list