X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Flogs%2Fbad-library;fp=t%2Flogs%2Fbad-library;h=32765c30bdc5d9393f733e1fea4f1b519588bf96;hb=0df26c1c2b30a44adc06f9c93650a6f2e31475c0;hp=0000000000000000000000000000000000000000;hpb=cf83d58fd04f141f4552050b285e2fbfc8189bcb;p=blhc%2Fblhc.git diff --git a/t/logs/bad-library b/t/logs/bad-library new file mode 100644 index 0000000..32765c3 --- /dev/null +++ b/t/logs/bad-library @@ -0,0 +1,3 @@ +gcc -D_FORTIFY_SOURCE=2 -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.o +gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so +gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so