sqlite-with-gcov
Installation
SKILL.md
SQLite with gcov Code Coverage
This skill provides guidance for compiling SQLite or similar C/C++ projects with gcov instrumentation for code coverage analysis.
Core Concepts
How gcov Works
gcov generates two types of files:
.gcnofiles: Generated at compile time, contain control flow graph information.gcdafiles: Generated at runtime, contain execution counts
Critical understanding: gcov embeds absolute paths at compile time. The .gcda files are written to paths based on where the source was compiled, NOT where the binary is installed or executed from.