What the current state of Asan/Container Overflow detection?



and followed some discussion from ~2014

are libc++ and stdlibc++ now fully annotated?

my tests with clang 5.x/gcc 7.x does not report any error on container missuse


Hi Dennis,

With libc++ the annotations in the std::vector work for me:

test file from https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow

clang++ -fsanitize=address co.cc -stdlib=libc++ && ./a.out