ABISan
An ABI sanitizer for assembly: a custom assembler built on top of LLVM's assembler (llvm-mc) that emits instrumentation code to catch ABI violations at runtime, such as clobbering nonvolatile registers, misaligning the stack pointer, misusing the redzone, and assuming volatile registers survive function calls. Basic x86_64 support is in progress, with planned work including a kernel-module runtime to instrument Linux, ports to other architectures like POWER or RISC-V, and dynamic linking support.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
ABISan
An ABI sanitizer for assembly: a custom assembler built on top of LLVM's assembler (llvm-mc) that emits instrumentation code to catch ABI violations at runtime, such as clobbering nonvolatile registers, misaligning the stack pointer, misusing the redzone, and assuming volatile registers survive function calls. Basic x86_64 support is in progress, with planned work including a kernel-module runtime to instrument Linux, ports to other architectures like POWER or RISC-V, and dynamic linking support.
Posted by @bkallus · Original source ↗
Source text · @bkallus · · Source ↗
ABISan. Think of it like UBSan, but for assembly.