FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux/scripts/gcc-x86_32-has-stack-protector.sh at master · madaocode/linux · GitHub
madaocode
/
linux
Public
forked from
torvalds/linux
Notifications
You must be signed in to change notification settings
Fork
0
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
linux
/
scripts
/
gcc-x86_32-has-stack-protector.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
8 lines (7 loc) · 183 Bytes
Breadcrumbs
linux
/
scripts
/
gcc-x86_32-has-stack-protector.sh
Copy path
File metadata and controls
8 lines (7 loc) · 183 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
#!
/bin/sh
echo
"
int foo(void) { char X[200]; return 3; }
"
|
$*
-S -xc -c -O0 -fstack-protector - -o -
2>
/dev/null
|
grep -q
"
%gs
"
if
[
"
$?
"
-eq
"
0
"
]
;
then
echo
y
else
echo
n
fi
Back
|
FazBrowse Home
|
New Git URL