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

Support C++ exceptions for rtld-c18n using otypes. #2003

Draft
wants to merge 7 commits into
base: dev
Choose a base branch
from

Commits on Mar 27, 2024

  1. c18n: Add functions needed for libunwind to work.

    This commit pulls out the functionality necessary to implement stack
    unwinding in rtld into macros and implements longjmp in terms of them.
    Using these macros, this commit implements the functionality necessary
    to support exception handling for libunwind. Additionally, it adds a new
    otype which is reserved for the unwinding library to use.
    dstolfa committed Mar 27, 2024
    Configuration menu
    Copy the full SHA
    f79249a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15ec6ea View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. c18n: Add get_trusted_frame macro

    dpgao authored and dstolfa committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    ae89653 View commit details
    Browse the repository at this point in the history
  2. c18n: Remove assembly wrappers for _rtld_{setjmp,longjmp,unw_*}

    Instead, use the get_trusted_frame macro to obtain the trusted frame in
    C.
    dpgao authored and dstolfa committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    2542735 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9424e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. c18n: Add a libunwind policy.

    This commit also fixes the missing unw_getcontext_unsealed in trusted
    symbols and moves libunwind symbols closer to the setjmp/longjmp ones.
    dstolfa committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    17e70d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cba61f2 View commit details
    Browse the repository at this point in the history