~/lightning

Lightning Talk: You Should Use AddressSanitizer

Lightningat CppCon 2023 · on Monday, 2023-10-02· [testing, security]
links:none on file
slides:none on file

AddressSanitizer compiles code with instrumentation that catches heap and stack buffer overflows use after free initialization order bugs and leaks and it prints allocation and free stack traces so you see where things were allocated and freed -fsanitize=address with -g and frame pointers is the common invocation it runs about 2x slowdown (still roughly 10x faster than Valgrind), inflates binary and VM usage, requires recompilation and good test coverage, and reliably reduces crashes and nondeterminism.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.