Skip to content
UPEEC

Sanitizers

Compiler instrumentation that catches bugs at run time: AddressSanitizer, UndefinedBehaviorSanitizer, ThreadSanitizer.

Intermediate
Comments 0

gcc -g -fsanitize=address,undefined app.c — reports out-of-bounds, use-after-free, overflow and more with exact line numbers.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.