AddressSanitizer (ASan) summary table

With respect to our test cases (incorporated into our membugs program), here is ASan's report card:

Test case #
Test case
Detected by Address Sanitizer?

1

UMR

No[1]

2

OOB (out-of-bounds): write overflow [on compile-time memory]

Yes

3

OOB (out-of-bounds): write overflow [on dynamic memory]
Yes

4

OOB (out-of-bounds): write underflow [on dynamic memory]

Yes
5 OOB (out-of-bounds): read overflow [on compile-time memory]
Yes
6 OOB (out-of-bounds): read overflow [on dynamic memory]
Yes
7 OOB (out-of-bounds): read underflow [on dynamic memory]
Yes
8 UAF (use-after-free) also known as dangling pointer
Yes
9 UAR also known as UAS (use-after-scope)
Yes[2] ...

Get Hands-On System Programming with Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.