Berildocs GitHub

Memory cards

AArch64 has a calling convention, PAC and MTE

confidence: mediumupdated: 2026-11-25status: activerearm64pac

Claim#

Arguments go in x0-x7, returns in x0. Pointer authentication signs pointers; MTE tags memory.

Test#

Map registers and stack. Check PAC instructions and MTE settings. Test a return address overwrite.

Proof#

A recovered prototype or a controlled return path.

Failure modes#

An emulator may not enforce PAC. MTE is optional per allocation.