SANCOV(1)

πŸ“¦
version 17.0.6 Β· 4 versions
, in debian trixie, ubuntu questing

🌸 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 .sancov files
  • their symbolized .symcov version

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 .sancov files πŸ¦‹
  • <other actions> β€” wants .sancov files & their corresponding binary files, plus .symcov files πŸ’…

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-hidden shows you more πŸ‘€
  • --help-list β€” shows you a list of the available options. and again, --help-list-hidden for 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.py instead. 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