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 test report with one failing test, with the C, GitHub Actions and GitLab logos.
Debugging

Run Valgrind Memcheck in CI as a Merge Gate

Run Valgrind Memcheck on your unit tests in CI with exit codes, suppressions and XML output so a new leak or invalid access fails the build before it merges.

6 min read
Flat illustration of heap memory as allocated and free blocks, with the C, Rust and Zig logos.
Debugging

Find Memory Leaks With Valgrind Memcheck

Run a C program under Valgrind Memcheck with --leak-check=full to find memory that was allocated and never freed, and read the report down to the source 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.