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 LLVM, Linux and Arm logos.
Debugging

Set, List and Delete Breakpoints in LLDB

Set LLDB breakpoints by function, file and line, address or regex, then list, disable, delete, make them conditional or one-shot, and attach commands to them.

7 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 a debugger stopped at a breakpoint beside the register values, with the C, LLVM and Linux logos.
Debugging

Start Debugging a C Program With LLDB

Compile a C program with clang -g, load it in LLDB, break on main, run, read the stop report, step with next and step, and quit. A first session with output.

8 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.