-
Notifications
You must be signed in to change notification settings - Fork 145
Testing with ASAN and UBSAN
Stefan Berger edited this page Nov 23, 2020
·
6 revisions
libtpms configure line: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer -fno-sanitize-recover" LIBS="-lasan" ./autogen.sh --prefix=/usr --with-tpm2 --with-openssl
swtpm configure line: CFLAGS="-fsanitize=address -g -fno-omit-frame-pointer -fno-sanitize-recover" LIBS="-lasan" ./autogen.sh --prefix=/usr --without-seccomp
libtpms configure line: CFLAGS="-fsanitize=undefined -g -fno-omit-frame-pointer -fno-sanitize-recover" LIBS="-lubsan" ./autogen.sh --prefix=/usr --with-tpm2 --with-openssl
swtpm configure line: CFLAGS="-fsanitize=undefined -g -fno-omit-frame-pointer -fno-sanitize-recover" LIBS="-lubsan" ./autogen.sh --prefix=/usr