6.8.1 AddressSanitizer

AddressSanitizer (aka ASan) is a memory error detector activated with the -fsanitize=address switch. Note that many of the typical memory errors, such as use after free or buffer overflow, are detected by Ada’s Access_Check and Index_Check.

It can detect the following types of problems: