[llvm-bugs] [Bug 32210] False sanitizer positive with strcmp() and strict_string_checking=1
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Mar 24 14:44:15 PDT 2017
http://bugs.llvm.org/show_bug.cgi?id=32210
Kostya Serebryany <kcc at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #3 from Kostya Serebryany <kcc at google.com> ---
(In reply to Franz Sirl from comment #2)
> If that's the intention of this flag, that's fine.
It is.
> But it also means strict_string_checks=1 is unusable for our codebase, since
That's fine. The flag is not enabled by default for exactly this reason.
> all reports here were "false" positives related to strcmp(), often simple
> stuff like strcmp(ptr, "conststring"). And if really something fishy would
> go on at these code locations, the normal address sanitizer would report it.
> Thanks for your explanation.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170324/a84fcade/attachment.html>
More information about the llvm-bugs
mailing list