23

Did You Know? ASAN and UBSAN Can be Combined.

Combine them like that:

# gcc/clang:
$ $CC -fsanitize=address -fsanitize=undefined \
  $CFLAGS
# meson (> 0.55.0):
$ meson compile  -Db_sanitize=address,\
  undefined
Did you know that ASAN and UBSAN can both be activated on the same build? The -fsanitize option just has to be passed multiple times respectively.
Icon with a waving hand

Get in touch

sigma star gmbh
Eduard-Bodem-Gasse 6, 1st floor
6020 Innsbruck | Austria

sigma star gmbh logo