Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

Flat illustration of a shield with a lock, a key and a password field, with the OWASP, Linux and Rust logos.
Security

Build and Minimize a Fuzzing Corpus

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.

8 min read
Flat illustration of a debugger stopped at a breakpoint beside the register values, with the C, GNU and LLVM logos.
Security

Fuzz a Binary File Parser With AFL++

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.

8 min read
Flat illustration of source code passing through a compiler and linker into a binary, with the GNU, Linux and CMake logos.
Security

Verify Hardening in an ELF With readelf

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.

7 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.