]> gcc.gnu.org Git - gcc.git/commit
re PR sanitizer/70541 (unnoticed invalid dereference when using address sanitizer)
authorMaxim Ostapenko <m.ostapenko@samsung.com>
Fri, 8 Apr 2016 10:46:13 +0000 (10:46 +0000)
committerMaxim Ostapenko <chefmax@gcc.gnu.org>
Fri, 8 Apr 2016 10:46:13 +0000 (13:46 +0300)
commitc3da495616f26855ac6b2522e8bbecd7e718074e
treed28e1f8c16d17d15af785dbac2a8216e5da79f31
parent9f1b833bc3f28a3000f2ce8c076a1930f44bcda9
re PR sanitizer/70541 (unnoticed invalid dereference when using address sanitizer)

2016-04-08  Maxim Ostapenko  <m.ostapenko@samsung.com>

PR sanitizer/70541
* asan.c (instrument_derefs): If we get unknown location, extract it
with EXPR_LOCATION.
(maybe_instrument_call): Instrument gimple_call's arguments if needed.

* c-c++-common/asan/pr70541.c: New test.

From-SVN: r234827
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/asan/pr70541.c [new file with mode: 0644]
This page took 0.056926 seconds and 5 git commands to generate.