This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/81005] -fsanitize=null and -fsanitize=alignment doesn't check aggregate arguments of calls
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 Jun 2017 08:13:54 +0000
- Subject: [Bug middle-end/81005] -fsanitize=null and -fsanitize=alignment doesn't check aggregate arguments of calls
- Auto-submitted: auto-generated
- References: <bug-81005-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81005
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Actually, not 100% sure about asm, we don't instrument those with asan either,
the problem is that there is no guarantee the asm reads or writes any of the
aggregate operands, so instrumenting those is problematic.