Skip to content

Add library support for aarch64-unknown-linux-pauthtest#1

Open
jchlanda wants to merge 10 commits intojakub/pacfrom
jakub/pac_lib
Open

Add library support for aarch64-unknown-linux-pauthtest#1
jchlanda wants to merge 10 commits intojakub/pacfrom
jakub/pac_lib

Conversation

@jchlanda
Copy link
Copy Markdown
Owner

@jchlanda jchlanda commented May 4, 2026

This is a follow up to the introduction of aarch64-unknown-linux-pauthtest PR.

Apart from threading through pauthtest environment, the main change this PR brings is signing of the landing pad entries.

jchlanda and others added 10 commits May 4, 2026 08:02
Co-authored-by: Daniil Kovalev <dkovalev@accesssoftek.com>
`const_ptr_auth` wraps aroudn `LLVMRustConstPtrAuth`, which provides a
way to decorate a function pointer in `ConstPtrAuth`.
Allow PAC metadata to be passed to `get_fn_addr` and related API
changes.
The set of supported attributes is:
function
* "aarch64-jump-table-hardening"
* "ptrauth-auth-traps"
* "ptrauth-calls"
* "ptrauth-indirect-gotos"
* "ptrauth-returns"
module
* "ptrauth-elf-got"
* "ptrauth-sign-personality"
Also:
* update tests to force dynamic library when targetting pauthtest
* various test fixes
* introduce end-to-end tests for pauthtest (in run-make)
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.

1 participant