Skip to content
New issue

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

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

Already on GitHub? # to your account

missing .note.GNU-stack section implies executable stack #129

Open
the-die opened this issue May 21, 2023 · 0 comments
Open

missing .note.GNU-stack section implies executable stack #129

the-die opened this issue May 21, 2023 · 0 comments

Comments

@the-die
Copy link

the-die commented May 21, 2023

If a program is missing the ".note.GNU-stack" section, it usually implies that the stack is executable by default.
With GCC, you can use the "-Wl,-z,noexecstack" flag during the compilation process. This flag tells the linker not to create an executable stack.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant