Skip to content
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

[bugfix] fix canary support for functions with ASM inline #9

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

PThierry
Copy link
Contributor

@PThierry PThierry commented Mar 6, 2020

Canaries with recent versions of gcc (>= 8) are not handled by _s_tack_check_fails() when gcc compiles functions with ASM inline in it (typically syscalls backend).

For those specific functions, canaries must be deactivated to avoid canary invalid construction.

INFO: this PR is a cherry-picking of PR #5 which handle this feature and allocator hardening in the same time. For this last PR, a clean rebase must first be done now that the new memory handling mechanism has been merged upstream.

@PThierry PThierry merged commit d7d762e into wookey-project:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant