SANCOV(1)

πŸ“¦
version 15.0.7 Β· 3 versions
, in ubuntu jammy

πŸ’– NAME πŸ’–

sancov β€” bestie, this is the manual page for sancov 15, and it's a whole User Commands situation. no cap. πŸŽ€


✨ DESCRIPTION ✨

πŸ¦‹ OVERVIEW: Sanitizer Coverage Processing Tool (sancov)

okay so listen. this tool is your girl for pulling coverage-related information out of literally everything, and it can do it from all of these:

  • coverage-instrumented binary files
  • raw .sancov files
  • their symbolized .symcov version

the vibe is that depending on which action you pick, it expects different input files. so like, read the room before you feed it stuff:

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

🌸 USAGE 🌸

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

πŸŽ€ OPTIONS πŸŽ€

πŸ’… Generic Options

  • --help β€” shows you the available options (and if you want more, there's --help-hidden for that πŸ‘€)
  • --help-list β€” shows you the list of available options (again, --help-list-hidden exists for the extra-spicy version)
  • --version β€” prints out the version of this program, slay

🧚 sancov Options

  • Action β€” required. like, mandatory mandatory. you cannot skip this one bestie πŸ’€

  • --print β€” prints the coverage addresses
  • --print-coverage-pcs β€” prints the coverage instrumentation points addresses.
  • --covered-functions β€” prints all the covered functions.
  • --not-covered-functions β€” prints all the not-covered functions.
  • --print-coverage-stats β€” prints the coverage statistics.
  • --html-report β€” REMOVED. 😭 use -symbolize & coverage-report-server.py instead.
  • --symbolize β€” produces a symbolized JSON report from a binary report.
  • --merge β€” merges reports.
  • --demangle β€” prints the demangled function name
  • --ignorelist=<string> β€” the ignorelist file (in sanitizer ignorelist format)
  • --skip-dead-files β€” does not list dead source files in the reports
  • --strip_path_prefix=<string> β€” strips this prefix off file paths in the reports
fr fr that's the whole page, nothing got left out, we ate and left no crumbs πŸ‘‘

anyway, that's the tea β€” this page is from sancov 15, dated July 2023, and it shipped out as part of User Commands. mwah, go read some coverage data, i'm obsessed with you 🫢🌈✨

πŸ“¦ where this page comes from