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

c18n: Save caller's stack pointer in trusted frame #2061

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Commits on Mar 20, 2024

  1. c18n: Save caller's stack pointer in trusted frame

    Previously, the caller's stack pointer is only saved at the bottom of
    the caller's stack during domain transition. This means that the act of
    unwinding a trusted frame relies on external state, namely the value at
    the bottom of the caller's stack.
    
    We now also save the caller's stack pointer in the trusted frame so that
    unwinding can be stateless, i.e., inspecting the content of the trusted
    frame alone is sufficient for restoring the stack pointer of the caller.
    dpgao committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    9adf052 View commit details
    Browse the repository at this point in the history