SANCOV(1)

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

πŸ’– SANCOV(1) πŸ’–

okay bestie, this is the manual page for sancov β€” that's the User Commands girlie, section 1. let's get into it 🫢


✨ NAME ✨

sancov β€” literally just the manual page for sancov 22. that's it, that's the name. πŸ’…


🌸 DESCRIPTION 🌸

πŸ” OVERVIEW: Sanitizer Coverage Processing Tool (sancov)

okay so. this tool is the Sanitizer Coverage Processing Tool (yes, that's sancov, iykyk) and the way that it eats is: it can extract various coverage-related information from any of these three snack types:

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

but here's the tea β˜• β€” 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
  • -diff β€” wants two .sancov files and the --output option
  • -union β€” wants one or more .sancov files and the --output option
  • <other actions> β€” wants .sancov files and the corresponding binary files, plus .symcov files

πŸš€ USAGE

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

that's the whole vibe. action first, then feed her the files. πŸ’«


πŸ’… Action (required)

like, you have to pick one. this is not optional, bestie.

  • -covered-functions β€” print all covered functions. all of them. every single one. πŸ‘‘
  • -diff β€” compute the difference between two sancov files (that's A - B, do the math ✨) and write it to the new output sancov file.
  • -html-report β€” REMOVED. πŸ’€ it's gone girl. use -symbolize & coverage-report-server.py instead.
  • -merge β€” merges reports. union but make it fusion cuisine πŸ“
  • -not-covered-functions β€” print all not covered functions. the ones that ghosted the vibe check πŸ™ˆ
  • -print-coverage-pcs β€” print coverage instrumentation points addresses.
  • -print-coverage-stats β€” print coverage statistics. numbers girlies rise 🌈
  • -print β€” print coverage addresses.
  • -symbolize β€” produces a symbolized JSON report from a binary report. glow-up in file format form ✨
  • -union β€” compute the union of multiple sancov files and write it to the new output sancov file.

πŸŽ€ Generic Options

the basics, the essentials, the main character energy:

  • -help β€” display this help. your knight in shining armor 🫢
  • -h β€” alias for --help.
  • -version β€” display the version. who am i? πŸ‘€
  • -v β€” alias for --version.

⭐ OPTIONS ⭐

here come the flags, bestie. all of them. not a single one skipped, we don't do that here πŸ’–

  • -demangle=0 β€” alias for --no-demangle.
  • -demangle β€” demangle function names. un-mangle them. make them legible. iconic behavior 🧚
  • -ignorelist=<string> β€” ignorelist file, in sanitizer ignorelist format.
  • -no-demangle β€” do not demangle function names.
  • -no-skip-dead-files β€” list dead source files in reports.
  • -output=<string> β€” output file for the diff and union actions. (remember, those two need this one!)
  • -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 file paths in reports βœ‚οΈ
  • -use_default_ignorelist=0 β€” alias for --no-use_default_ignore_list.
lowkey important: that alias is spelled --no-use_default_ignore_list, with the underscore, not the dash. don't come for me, i'm just the messenger πŸ’€

and that's the whole page, bestie!! you ate that. this was sancov 22, dated September 2026 β€” love her, study her, run her responsibly. mwah πŸ’‹πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from