detecting "container overflow" bugs in std::vector

Jonathan Wakely jwakely@redhat.com
Mon May 26 14:15:00 GMT 2014


On 26/05/14 15:12 +0100, Jonathan Wakely wrote:
>It does look useful but I'm concerned about a proliferation of
>container checks, we already have the libstdc++ Debug Mode, and I'd
>like to see some of the lightweight checks from the Google branch
>added to trunk too.

I see that the patch on the Google branch removes some of the
__google_stl_debug_vector checks -- are they considered no longer
necessary/useful with asan?  Aren't they still much cheaper than asan
instrumentation?



More information about the Gcc-patches mailing list