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

Enable gdb plugin to work with enclave from buffer #902

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 24, 2024

  1. Enable gdb plugin to work with enclave from buffer

    - Initially, the gdb requires the enclave file to load the symbol. However, if we create the enclave from `sgx_create_enclave_from_buffer_ex`, the file information is not populated by the URTS, which prevents the gdb plugin to load the symbols
    - This patch allows the gdb plugin to hook into the `_create_enclave_from_buffer_ex` function and perform necessary patching to allow enclave not from file to be debugged
    
    Signed-off-by: Gilang Mentari Hamidy <[email protected]>
    gilanghamidy committed Nov 24, 2024
    Configuration menu
    Copy the full SHA
    a06b8b4 View commit details
    Browse the repository at this point in the history