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 parallel threads meeting at a mutex, with the C, Rust and Erlang logos.
Concurrency

Use OpenMP Tasks for Recursive Parallelism

Parallelize recursive C code such as Fibonacci and tree walks with OpenMP tasks, taskwait and a cutoff, and see why a task per call runs slower than serial.

7 min read
Flat illustration of source code passing through a compiler and linker into a binary, with the LLVM, GNU and CMake logos.
Toolchains

Enforce a Code Style With clang-format

Configure clang-format with a .clang-format file, format files and diffs, and fail CI on unformatted code so style discussions end before review.

6 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

Get new posts by email

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

Unsubscribe in one click. No spam, ever.