SANCOV(1)

πŸ“¦
version 18.1.8 Β· 5 versions
, in debian trixie, ubuntu questing

✨ NAME ✨

sancov β€” the manual page for sancov 18, bestie. It's the Sanitizer Coverage Processing Tool and it's lowkey iconic.


πŸ’– DESCRIPTION πŸ’–

🌈 OVERVIEW: Sanitizer Coverage Processing Tool (sancov)

Okay so, real talk: this tool can extract all kinds of coverage-related info from three different things β€” coverage-instrumented binary files, raw .sancov files, and their symbolized .symcov version. πŸ¦‹

And depending on which action you pick, the tool expects different input files. No cap:

  • -print-coverage-pcs β€” wants coverage-instrumented binary files
  • -print-coverage β€” wants .sancov files
  • <other actions> β€” wants .sancov files & the corresponding binary files, plus .symcov files

πŸ’… USAGE

sancov [options] <action> <binary files...> <.sancov files...> <.symcov files...>

πŸ‘‘ Action (required):

Like, you literally have to pick one, it's giving mandatory.

  • -covered-functions β€” Print all covered funcions.
  • -html-report β€” REMOVED. Use -symbolize & coverage-report-server.py instead. πŸ’€
  • -merge β€” Merges reports.
  • -not-covered-functions β€” Print all not covered funcions.
  • -print-coverage-pcs β€” Print coverage instrumentation points addresses.
  • -print-coverage-stats β€” Print coverage statistics.
  • -print β€” Print coverage addresses
  • -symbolize β€” Produces a symbolized JSON report from binary report.

πŸŽ€ Generic Options:

  • -help β€” Display this help
  • -h β€” Alias for --help
  • -version β€” Display the version
  • -v β€” Alias for --version

⭐ OPTIONS:

  • -demangle=0 β€” Alias for --no-demangle
  • -demangle β€” Demangle function names
  • -ignorelist=<string> β€” Ignorelist file (sanitizer ignorelist format)
  • -no-demangle β€” Do not demangle function names
  • -no-skip-dead-files β€” List dead source files in reports
  • -skip-dead-files=0 β€” Alias for --no-skip-dead-files
  • -skip-dead-files β€” Do not list dead source files in reports
  • -strip_path_prefix=<string> β€” Strip this prefix from files paths in reports
  • -use_default_ignorelist=0 β€” Alias for --no-use_default_ignore_list

That's the whole vibe, bestie β€” go read some coverage data and slay. 🫢

This was sancov 18, from June 2025, living its life as SANCOV(1). Mwah. πŸ’–

πŸ“¦ where this page comes from