test: Add a test for fortification of string functions
We currently only run the testcase where it doesn't trigger the failed checks though.
This commit is contained in:
1 parent
2013c9c165
commit
4c29469eac
3 files changed
+134
-1
No files matched your search
@@ -160,6 +160,9 @@ RUN cd test && \
|
||||
for test in stacksmash; do \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -fstack-protector-strong || exit 1; \
|
||||
done; \
|
||||
for test in bufferoverflow; do \
|
||||
$arch-w64-mingw32-clang $test.c -o $arch/$test.exe -lssp -D_FORTIFY_SOURCE=2 -O2 || exit 1; \
|
||||
done; \
|
||||
done
|
||||
|
||||
# Build OpenMP
|
||||
|
||||
Reference in new issue
Block a user