Skip to content
systemcoding.dev
Topic

Debugging

GDB and LLDB, JTAG and SWD with OpenOCD, Valgrind and sanitizers, core dumps, tracing and logic analysers: finding the bug instead of the symptom.

Flat illustration of a magnifier over lines of a log, with the Linux, C and Rust logos.
Kernels

printk Log Levels and pr_* Helpers Explained

Learn the eight printk log levels, the pr_info and pr_err helpers, pr_fmt prefixes, rate limiting and the console loglevel that decides what reaches the screen.

8 min read
Flat illustration of heap memory as allocated and free blocks, with the C, LLVM and Zig logos.
Systems Programming

Detect Heap Bugs with AddressSanitizer

Compile with -fsanitize=address to catch heap overflows, use after free, double free and leaks, and learn to read the report that names the exact line.

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.