SANCOV(1)

πŸ“¦
version 21.1.8 Β· 3 versions
, in ubuntu stonking

πŸ’– NAME πŸ’–

sancov β€” the manual page for sancov 21. bestie. you found it. this is the coverage tool and it's lowkey iconic ✨


πŸŽ€ DESCRIPTION πŸŽ€

🌈 OVERVIEW: Sanitizer Coverage Processing Tool (sancov) 🌈

okay so real talk: this tool pulls all kinds of coverage-related info out of your stuff. the way it does this is by reading from coverage-instrumented binary files, from raw .sancov files, and from their symbolized .symcov version. 🫢

and here's the tea β€” depending on which action you pick, it wants different input files. so like, don't just throw everything at it and hope:

  • -print-coverage-pcs β€” wants coverage-instrumented binary files πŸ‘‘
  • -print-coverage β€” wants .sancov files πŸ“
  • <other actions> β€” wants .sancov files and the corresponding binary files, or .symcov files πŸ¦‹

πŸ’… USAGE πŸ’…

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

⭐ Action (required) ⭐

you literally have to pick one, there's no "eh maybe later" option. 😭

  • -covered-functions β€” prints all covered functions. every single one that got hit. πŸ’š
  • -html-report β€” REMOVED. like, gone gone. use -symbolize & coverage-report-server.py instead, bestie. πŸ’€
  • -merge β€” merges reports. mash them together, one report to rule them all. πŸ”₯
  • -not-covered-functions β€” prints all not covered functions. the ones that got left on read. πŸ™ˆ
  • -print-coverage-pcs β€” prints coverage instrumentation points addresses.
  • -print-coverage-stats β€” prints coverage statistics. the numbers, the vibes, the whole picture. ✨
  • -print β€” prints coverage addresses.
  • -symbolize β€” produces a symbolized JSON report from a binary report. glow-up for your data. 🌟

🌸 Generic Options 🌸

  • -help β€” displays this help
  • -h β€” alias for --help
  • -version β€” displays the version
  • -v β€” alias for --version

✨ OPTIONS ✨

  • -demangle=0 β€” alias for --no-demangle
  • -demangle β€” demangle function names (yes pls, give me the readable ones πŸ’–)
  • -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

and that's the whole page, no notes. 🧚 this was sancov 21, from September 2026 β€” go forth and get those numbers up, you absolute main character. πŸ’œπŸ‘‘

πŸ“¦ where this page comes from