SANCOV(1)
πΈ NAME πΈ
sancov β the manual page for sancov 17, and honestly? it's giving coverage-tool royalty π
β¨ DESCRIPTION β¨
OVERVIEW: Sanitizer Coverage Processing Tool (sancov) π
okay so bestie, listen up π this tool pulls all kinds of coverage-related info out of three different flavours of thing:
- coverage-instrumented binary files
- raw
.sancovfiles - their symbolized
.symcovversion
and the vibe check here is that depending on which action you pick, the tool expects totally different input files. no cap. here's the receipts:
-print-coverage-pcsβ wants coverage-instrumented binary files π§-print-coverageβ wants.sancovfiles π¦- <other actions> β wants
.sancovfiles & their corresponding binary files, plus.symcovfiles π
USAGE π
sancov [options] <action> <binary files...> <.sancov files...> <.symcov files...>
like, that's the whole shape of it. action in the middle, files trailing after like a lil entourage β¨
π OPTIONS π
Generic Options π«Ά
--helpβ shows you all the available options. and if you're extra,--help-hiddenshows you more π--help-listβ shows you a list of the available options. and again,--help-list-hiddenfor more π--versionβ prints the version of this program. iconic behaviour fr fr
sancov Options π
--demangleβ prints the demangled function name π₯--ignorelist=<string>β the ignorelist file (in sanitizer ignorelist format)
Action (required) β
bestie, this one is required. you literally cannot skip it. pick exactly one, periodt π
--printβ prints coverage addresses--print-coverage-pcsβ prints coverage instrumentation points addresses.--covered-functionsβ prints all covered functions.--not-covered-functionsβ prints all not covered functions.--print-coverage-statsβ prints coverage statistics.--html-reportβ REMOVED. use-symbolize&coverage-report-server.pyinstead. she's gone, bestie, don't @ her π--symbolizeβ produces a symbolized JSON report from a binary report.--mergeβ merges reports. (plural reports in, one report out, we love a consolidation arc π)--skip-dead-filesβ do not list dead source files in reports--strip_path_prefix=<string>β strips this prefix from file paths in reports
and that's the whole page, no crumbs left behind π this was sancov 17, from June 2025, living under the SANCOV(1) manual section β go forth and instrument, bestie, you've got this ππ¦β¨
π¦ where this page comes from
- debian trixie: clang-tools-17 1:17.0.6-22+b2 Β· APACHE-2-LLVM-EXCEPTIONS
- ubuntu questing: clang-tools-17 1:17.0.6-22build1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms