aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2015-03-06 23:44:56 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2015-03-06 23:44:56 +0000
commit04fd785e38c4c37ae4f71704397a27a924baf4d9 (patch)
tree7064860fcc0879e90d67ecc31bc3d27458bf2a97 /gcc/tree.c
parenta78cbe2976549780489d72b895a9adb528ba874b (diff)
downloadgcc-04fd785e38c4c37ae4f71704397a27a924baf4d9.zip
gcc-04fd785e38c4c37ae4f71704397a27a924baf4d9.tar.gz
gcc-04fd785e38c4c37ae4f71704397a27a924baf4d9.tar.bz2
re PR sanitizer/65280 (-fsanitize=bounds does not detect out-of-bounds access)
PR sanitizer/65280 * doc/invoke.texi: Update description of -fsanitize=bounds. * c-ubsan.c (ubsan_instrument_bounds): Check for COMPONENT_REF before trying to figure out whether we have a flexible array member. * c-c++-common/ubsan/bounds-1.c: Add testing of flexible array member-like arrays. * c-c++-common/ubsan/bounds-8.c: New test. * c-c++-common/ubsan/bounds-9.c: New test. * gcc.dg/ubsan/bounds-2.c: New test. Co-Authored-By: Martin Uecker <uecker@eecs.berkeley.edu> From-SVN: r221250
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions