Tag

AddressSanitizer

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
ByteDance SYS Tech
ByteDance SYS Tech
Dec 9, 2022 · Fundamentals

How Sanitizer Interceptors Detect Memory Bugs in Linux C++ Programs

This article explains the principles behind Google’s sanitizer tools, especially AddressSanitizer, covering symbol interposition, the interceptor mechanism, and how these techniques replace libc functions to reliably locate memory and thread errors in C++ applications on Linux.

AddressSanitizerDynamic LinkingMemory Debugging
0 likes · 18 min read
How Sanitizer Interceptors Detect Memory Bugs in Linux C++ Programs