]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR sanitizer/69276 (Address sanitizer does not handle heap overflow)
authorMartin Liska <mliska@suse.cz>
Thu, 4 Feb 2016 11:50:40 +0000 (12:50 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Thu, 4 Feb 2016 11:50:40 +0000 (11:50 +0000)
commit7db337c247a6f34708b502016d58c2ef9991b2a8
tree4ea923ad0597971e1d4ac18debc076d5c683892c
parent60d27907cc2cfb233ceb5e76bba3ed82ab9b21c7
re PR sanitizer/69276 (Address sanitizer does not handle heap overflow)

Fix PR sanitizer/69276

* g++.dg/asan/pr69276.C: New test.
PR sanitizer/PR69276
* asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
that are gimple_store_p.
(maybe_instrument_call): Likewise.

From-SVN: r233137
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/pr69276.C [new file with mode: 0644]