We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1d3a9 commit 691ef09Copy full SHA for 691ef09
compiler-rt/test/safestack/canary.c
@@ -1,7 +1,7 @@
1
-// RUN: %clang_safestack -g %s -o %t.nossp
+// RUN: %clang_safestack -fno-stack-protector -D_FORTIFY_SOURCE=0 -g %s -o %t.nossp
2
// RUN: %run %t.nossp 2>&1 | FileCheck --check-prefix=NOSSP %s
3
4
-// RUN: %clang_safestack -fstack-protector-all -g %s -o %t.ssp
+// RUN: %clang_safestack -fstack-protector-all -D_FORTIFY_SOURCE=0 -g %s -o %t.ssp
5
// RUN: not --crash %run %t.ssp 2>&1 | FileCheck -check-prefix=SSP %s
6
7
// Test stack canaries on the unsafe stack.
0 commit comments