New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use -fstack-check when compiling C code #552

Open
briansmith opened this Issue Jun 19, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@briansmith

This comment has been minimized.

Owner

briansmith commented Jun 29, 2017

@sanmai-NL

This comment has been minimized.

Contributor

sanmai-NL commented Dec 29, 2017

-fstack-check is a no-op in Clang

See also copperhead/bugtracker#308.


@briansmith: Am I correct in believing that the current status as discussed under rust-lang/rust#43241 means CopperheadOS’ comments on Twitter are outdated wrt. Stack Clash protection for tier-1 platforms?

@thestinger

This comment has been minimized.

thestinger commented May 15, 2018

You should pass -fstack-clash-protection to GCC. Clang doesn't support it yet.

GCC implemented -fstack-clash-protection instead of fixing -fstack-check. You don't want -fstack-check. I don't think they plan to fix it. :\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment