Skip to content

Conversation

@PeterYang12
Copy link
Owner

No description provided.

barracuda156 and others added 11 commits September 6, 2022 02:47
Fixes for currently broken Darwin ppc/ppc64 assembler
    Shadow stack is part of Intel's Control-Flow Enforcement
    Technology(CET).

    Whenever a function is called, the return address is pushed onto both
    the regular stack and the shadow stack. When that function returns, the
    return addresses are popped off both stacks and compared; if they fail
    to match, #CP raised.

    With this commit, we create shadow stack for each fcontext and switch
    the shadow stack accordingly during fcontext switch.

Signed-off-by: PeterYang12 <[email protected]>
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.

4 participants