Using ARM64 Pointer Authentication to Harden Return Addresses
Learn how ARMv8.3-A Pointer Authentication (PAC) signs return addresses to detect tampering, how to enable it in your toolchain and kernel, and what trade‑offs to consider.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how ARMv8.3-A Pointer Authentication (PAC) signs return addresses to detect tampering, how to enable it in your toolchain and kernel, and what trade‑offs to consider.
When porting compute‑intensive kernels to ARM64, choosing between NEON and SVE can be tricky. This guide compares the two vector extensions, explains trade‑offs, and walks through a concrete compile‑and‑run workflow to validate your choice on real hardware.
ARM64 Pointer Authentication (PAC) signs pointers to detect tampering before use. Learn how to enable PAC in GCC/Clang, verify hardware support, and measure its impact on aarch64 systems. The guide includes code, verification steps, and trade‑off analysis.
A practical guide to enabling ARM64 Scalable Vector Extension (SVE) in Linux: verify CPU support, configure the kernel, compile with -march=armv8.1-a+sve, and check binaries at runtime.
Step‑by‑step guide to enable ARM64 Memory Tagging Extension, compile a test program with -fsanitize=memtag, and verify that memory safety faults are reported via synchronous tag‑check exceptions.
Learn how to leverage ARMv8.1-A Large System Extensions (LSE) to replace slow LL/SC atomic loops with high-performance hardware instructions in Linux.
ARM64 does not guarantee x86's store-load ordering. Learn how AArch64's weak memory model breaks plain shared-variable code and how to fix it with acquire/release atomics.
Decide whether to turn on ARM64 Pointer Authentication (PAC) for return‑address protection in user‑space Linux binaries. A concise decision guide compares PAC on vs. off, discusses security, performance, compatibility, and shows how to compile, run, and validate a PAC‑enabled program.
Moving x86 lock-free code to ARM64 often exposes hidden ordering assumptions. Learn why plain stores are not enough, how acquire/release primitives map to LDAR/STLR, and when ARMv8.1 LSE atomics are safe to use.