Skip to content

UBSan and ASan

ASan = AddressSanitizer, catches memory errors: leaks, use-after-free, out-of-bounds, double-free.

UBSan = UndefinedBehaviorSanitizer, catches undefined behavior: signed overflow, null dereference, bad casts, etc.

Both are compiler flags (-fsanitize=address, undefined) already in the makefile.