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

CFI-Compatible Shims and Miscellaneous Fixes #104

Merged
merged 1 commit into from
Aug 25, 2023

Conversation

sempervictus
Copy link

Grsecurity's RAP does not tolerate inconsistent call signatures resulting from dynamic dispatch used to differentiate the gen11/12 hardware from older equipment. Haven't tested on LLVM's kCFI since the relevant changes were introduced, but good chance that it will not abide these mismatches as well.

Implement explicitly-casting function shims to provide consistent signatures and inform the compiler of the type conversion without attempting to rely on inference/undefined behavior.

Implement several bug-fixes for misc compiler errors encountered during the 6.4 port.

Grsecurity's RAP does not tolerate inconsistent call signatures
resulting from dynamic dispatch used to differentiate the gen11/12
hardware from older equipment. Haven't tested on LLVM's kCFI since
the relevant changes were introduced, but good chance that it will
not abide these mismatches as well.

Implement explicitly-casting function shims to provide consistent
signatures and inform the compiler of the type conversion without
attempting to rely on inference/undefined behavior.

Implement several bug-fixes for misc compiler errors encountered
during the 6.4 port.
@strongtz strongtz merged commit 84f585d into strongtz:master Aug 25, 2023
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.

2 participants