Add a testcase for ubsan

This commit is contained in:
Martin Storsjö committed 2018-10-17 22:45:54 +03:00
1 parent 6ead0a46b3
commit c9817eca35
3 files changed
+51

No files matched your search

+3
View File
@@ -100,6 +100,9 @@ RUN cd test && \
for test in stacksmash; do \
$arch-w64-mingw32-clang $test.c -o $arch/$test-asan.exe -fsanitize=address -g -gcodeview -Wl,-pdb,$arch/$test-asan.pdb || exit 1; \
done; \
for test in ubsan; do \
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fsanitize=undefined || exit 1; \
done; \
done
# Build libssp