Skip to content

Pointer authentication (PAC) for clang#60

Open
mingxwa wants to merge 2 commits into
ngcpp:feature/v5from
mingxwa:user/mingxwa/pac-6
Open

Pointer authentication (PAC) for clang#60
mingxwa wants to merge 2 commits into
ngcpp:feature/v5from
mingxwa:user/mingxwa/pac-6

Conversation

@mingxwa

@mingxwa mingxwa commented Jul 15, 2026

Copy link
Copy Markdown
Member

NOTE: This is PR 1 of n for the upcoming v5 major release, targeting the feature/v5 branch. Once the feature branch is stable, it will be merged into main. This PR introduces critical ABI-breaking changes.

Changes

  • Added header file detail/facade_meta_traits.h, which introduces two new public APIs: compact_facade_meta_traits and flat_facade_meta_traits. These are metadata policy in v5. Currently only compact_facade_meta_traits is used from core.h. Later this will become a new dimension of facade, and the reference from core.h will be removed.
  • detail::invoker, detail::inline_meta_storage and detail::static_meta_storage are the implementation types of the meta traits. When PAC is enabled for compiler ABI, they will have the same level of security strength as virtual functions.
  • Added unit tests for PAC.
  • Added a new pipeline and benchmarking for PAC.

Documentation will be updated separately.

(CI is not triggered for the new feature branch (filed #61). Manual CI: https://github.com/mingxwa/proxy/actions/runs/29426699530)

Resolves #7

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