Address Sanitizer continue on error, Pure Virtual C++ 2023
C++ memory safety errors continue to be a top concern. In this talk we describe continueonerror which is new technology implemented in the Address Sanitizer runtime. The compiler and new runtime allow a developer to find a welldefined set of (possibly hidden) memory safety errors, has zero false positives, and is easily added to existing test assets. This creates a new checkedbuild for C and C++. This new functionality allows an application to continue running while reporting memory safety errors to a log file or the command line. The existing Address Sanitizer runtime will report the first memory error encountered and then kill your application. When enabled, the new continueonerror feature, will automatically return control back to the application after reporting each memory safety error. With continueonerror you can compile and deploy an existing application in limited production to find memory safety issues or leaks while running for days. If you compile with one extra flag (fsaniti
|
|