Line Execution Checker
Installation
SKILL.md
Line Execution Checker
Purpose
Fast tool to check if specific source lines were executed during test runs.
Tool: line-checker
Build
Always build fresh from this skill's line_checker.cpp, into a scratch
directory YOU create — never into (or from) the coverage/build directory.
That directory is written by the instrumented target's own build and run,
so any pre-existing line-checker found there could have been planted by
the analysed program to forge coverage verdicts; never execute one.
CHECKER_DIR=$(mktemp -d)
g++ -O3 -std=c++17 line_checker.cpp -o "$CHECKER_DIR/line-checker"