X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fbad;h=8eac93a2e189acf1fb1d64ad19ef7f70f8834c7d;hb=26504b77eea8eab454c143f50c3a4da4ba63a178;hp=4f95039acedee49b0615d3c9add7778a9f411ff8;hpb=7e2fa8678a2df8c05e2f41f11559b1a9a68418a8;p=blhc%2Fblhc.git diff --git a/t/logs/bad b/t/logs/bad index 4f95039..8eac93a 100644 --- a/t/logs/bad +++ b/t/logs/bad @@ -14,3 +14,8 @@ x86_64-linux-gnu-gcc -g -O2 -c test-a.c x86_64-linux-gnu-gcc -g -O2 -c test-b.c x86_64-linux-gnu-gcc -g -O2 -c test-c.c x86_64-linux-gnu-gcc -o test test-a.o test-b.o test-c.o -ltest + +g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pthread -o ./testProgram ../src/test/testProgram.cpp +g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pthread -Wl,-z,relro -o ../src/test/bin/test ../src/test/objs/test.o + +gcc -o test test-a.o test-b.o test-c.a