[Bug sanitizer/61547] Invalid sanitization of trailing byte in __builtin_strlen
kcc at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 18 11:33:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61547
--- Comment #4 from Kostya Serebryany <kcc at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> (In reply to Kostya Serebryany from comment #2)
> > Note that in clang we chose not to instrument any builtins in compiler,
> > but instead fully rely on interceptors.
>
> So you never expand such builtins inline?
Not that I know of.
LLVM has only 3 builtins like this (memset/memcpy/memmove):
http://llvm.org/docs/LangRef.html#standard-c-library-intrinsics
And asan replaces these builtins with asan's own call (e.g. __asan_memset)
More information about the Gcc-bugs
mailing list