Tag

Shadow Memory

1 views collected around this technical thread.

ByteDance SYS Tech
ByteDance SYS Tech
Jul 21, 2023 · Fundamentals

How HWAddressSanitizer Leverages AArch64 TBI to Detect Memory Errors Efficiently

This article explains the principles behind HWAddressSanitizer (HWASAN), how it uses the AArch64 Top‑Byte‑Ignore hardware feature to provide lower‑overhead memory error detection than ASAN, and walks through practical examples, implementation details, and LLVM integration for C/C++ developers.

Aarch64AddressSanitizerHWASAN
0 likes · 29 min read
How HWAddressSanitizer Leverages AArch64 TBI to Detect Memory Errors Efficiently
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Nov 13, 2020 · Information Security

Understanding KASAN: Principles and Usage in the Linux Kernel

KASAN, the Kernel Address Sanitizer, is a built‑in Linux kernel tool that uses shadow memory to mark each 8‑byte block’s accessibility, enabling detection of out‑of‑bounds and use‑after‑free errors while consuming about one‑eighth of RAM and requiring kernel configuration changes to activate.

KASANLinux kernelMemory Debugging
0 likes · 8 min read
Understanding KASAN: Principles and Usage in the Linux Kernel