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

PAuthABI support for DWARF (Debugging and Unwinding) #213

Open
smithp35 opened this issue Jul 31, 2023 · 0 comments
Open

PAuthABI support for DWARF (Debugging and Unwinding) #213

smithp35 opened this issue Jul 31, 2023 · 0 comments

Comments

@smithp35
Copy link
Contributor

The PAuthABI work that we have done in the ABI has been restricted to the ELF specification. In the 31-07-2023 PAuthABI sync-up the topic of DWARF support came up as an area that will need expansion.

The current DWARF specification https://github.com/ARM-software/abi-aa/blob/main/aadwarf64/aadwarf64.rst#41dwarf-register-names has a pseudo register RA_SIGN_STATE that indicates that a register has been signed. This is sufficient for PACRET as the signing schema is implicit. It is also likely to be sufficient if the only operation is to strip signing. However for PAuthABI the unwinder and debugger may need to understand the signing schema at a more fine grained level, for example generating code for expression evaluation.

This issue is a placeholder for future improvements in the ABI. Most likely via a pauthabidwarf64 extension document like the ELF specification.

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

No branches or pull requests

1 participant