Mikhail, Vyacheslav Barinov (Samsung R&D Russia)
One kind of bugs that AddressSanitizer can find with the help of code annotations is "container-overflow": Given std::basic_string v a container-overflow is a memory access inside the range [v.end(), v.begin() + v.capacity()), i.e. inside the allocated heap region but outside of the current container bounds. Std::vector is already annotated in both libstc++/libc++, std::string is not upstreamed yet.
We'll discuss standard library sanitization process for std::string and how we applied it to the whole operation system.
Ага, там и будем пинать
Обсуждают сегодня