On Wed, May 06, 2015 at 11:14:08PM +0200, Marek Polacek wrote:
> On Wed, Apr 29, 2015 at 05:13:11PM +0200, Marek Polacek wrote:
> > This patch adds the -fsanitize=bounds-strict option Martin U. wanted; it is
> > actually based on his earlier patch, I did only some small adjustments.
> > 
> > Bootstrapped/regtested on x86_64-linux, ok for trunk?
> > 
> > 2015-04-29  Marek Polacek  <pola...@redhat.com>
> >         Martin Uecker  <uec...@eecs.berkeley.edu>
> > 
> >     * c-ubsan.c (ubsan_instrument_bounds): Don't skip instrumenting
> >     flexible member array-like members if SANITIZE_BOUNDS_STRICT.
> > 
> >     * doc/invoke.texi: Document -fsanitize=bounds-strict.
> >     * flag-types.h (enum sanitize_code): Add SANITIZE_BOUNDS_STRICT, or it
> >     into SANITIZE_NONDEFAULT.
> >     * opts.c (common_handle_option): Handle -fsanitize=bounds-strict.
> > 
> >     * c-c++-common/ubsan/bounds-10.c: New test.

Ok, thanks.

        Jakub

Reply via email to