
How the IOMMU Isolates Device DMA From Kernel Memory
How an IOMMU translates and restricts device DMA on Linux 6.12, how IOMMU groups and domains work, and how to check the setup from sysfs and boot flags.
Memory-safety bugs and the mitigations against them, secure boot, firmware analysis, fuzzing and defensive reverse engineering.

How an IOMMU translates and restricts device DMA on Linux 6.12, how IOMMU groups and domains work, and how to check the setup from sysfs and boot flags.

Compare libFuzzer, AFL++ and honggfuzz on harness style, speed, binary-only support, mutators and platforms, with a decision table and a shared harness.

Collect seeds, merge and shrink a corpus with libFuzzer -merge=1 and afl-cmin, replay it in CI with -runs=0, and keep it clean of crashes and private data.

Avoid the four classic undefined-behaviour traps in C binary parsers: unaligned casts, signed shifts, overflowing bounds checks and attacker-controlled lengths.

Build a file parser with afl-clang-fast and AddressSanitizer, seed and run afl-fuzz 4.x, read the crashes directory and shrink a crash with afl-tmin.

Use Go 1.24 native fuzzing with testing.F to fuzz a binary decoder, find a slice bounds panic, read the saved testdata file and add a round-trip property.

Set up cargo-fuzz 0.13 on a Rust nightly toolchain, fuzz a parser that uses unsafe code, read the crash report and replay, minimize and keep the failing input.

Fuzzing feeds a program mutated inputs and watches for crashes. Coverage feedback keeps inputs that reach new code, so an impossible search becomes short.

An assembly file without a .note.GNU-stack section makes the linker mark the whole program's stack executable. Add the section or pass -z noexecstack.

Write a shell script that uses readelf and nm to fail a build when an ELF binary lacks PIE, full RELRO, a non-executable stack, a stack canary or CET notes.

Add stack protector, fortify, PIE, full RELRO and CET flags to a CMake 3.28 project with feature checks, per-target options and a verification step.

A curated set of GCC and Clang warnings, from -Wformat=2 and -Wstringop-overflow to -Wvla and -Wconversion, that flag memory-safety bugs before they ship.
We send one email when a new post is published. No spam.