Skip to content
systemcoding.dev

Tag

valgrind

7 posts

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
Flat illustration of a debugger stopped at a breakpoint beside the register values, with the C, C++ and LLVM logos.
DebuggingGuide

The Complete Guide to Valgrind for C and C++

Find memory errors, leaks, uninitialised reads and thread races in C and C++ with Valgrind, then profile heap and cache use, debug live and gate your CI.

27 min read