logo

Address Sanitizer for Bare-metal Firmware

ID: e34ebf3b-ec2b-5e59-a5c7-1ffb2d96ae6e

STIX ID: report--e34ebf3b-ec2b-5e59-a5c7-1ffb2d96ae6e

Feed Name: Google Online Security Blog

Date Published: 2024-03-26

Date Updated: 2026-04-27

Author: Edward Fernandez

...
...

Android engineers outline how to bring Kernel Address Sanitizer (KASan) to bare‑metal firmware targets using Clang/LLVM and QEMU, detailing shadow memory layout, required runtime hooks for loads/stores, globals/stack handling, sanitized memcpy/memmove/memset, noreturn handling, and heap allocator instrumentation, along with compiler flags to control instrumentation size and mapping. They report KASan has already identified 40+ memory safety bugs in pre‑production firmware testing and recommend integrating it with fuzzing, while also advocating adoption of memory‑safe Rust for long‑term risk reduction.

Your team is not currently subscribed to this feed. You must subscribe to it in order to see this post.