SANCOV(1)

πŸ“¦
version 19.1.7 Β· 5 versions
, in debian bookworm, debian trixie

πŸ’– SANCOV(1) β€” the sancov girlies' guide πŸ’–

okay bestie, sit down, grab a boba, because we're talking about sancov from the User Commands crew. it's the Sanitizer Coverage Processing Tool and honestly? it's iconic. it eats. πŸ’…


✨ NAME ✨

sancov β€” manual page for sancov 19 πŸ¦‹


🌸 DESCRIPTION 🌸

OVERVIEW: Sanitizer Coverage Processing Tool (sancov)

so like. this tool pulls every kind of coverage-related info out of:

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

and depending on which action you pick, it wants different input files. no cap. it's giving ✨choose your own adventure✨:

  • -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): πŸŽ€

bestie, this part is required. you literally cannot skip it. pick exactly one, periodt.

  • -covered-functions β€” prints all covered funcions. πŸ’–
  • -html-report β€” REMOVED. use -symbolize & coverage-report-server.py instead. she's gone, she's retired, we don't talk about her. πŸ’€
  • -merge β€” merges reports. two reports become one, it's giving fusion dance πŸ”₯
  • -not-covered-functions β€” prints all not covered funcions. the ones who didn't show up to the party 😭
  • -print-coverage-pcs β€” prints coverage instrumentation points addresses. 🎯
  • -print-coverage-stats β€” prints coverage statistics. numbers, but make it slay πŸ“Š
  • -print β€” print coverage addresses ✨
  • -symbolize β€” produces a symbolized JSON report from a binary report. glow-up in file format form 🌈

πŸ’œ Generic Options: πŸ’œ

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

✨ OPTIONS ✨

here's the full menu, no skips, no cuts, all 9 of them because we don't gatekeep πŸ’…

  • -demangle=0 β€” alias for --no-demangle
  • -demangle β€” demangle function names πŸͺ„
  • -ignorelist=<string> β€” ignorelist file (sanitizer ignorelist format)
  • -no-demangle β€” do not demangle function names. leave them exactly as they are, we respect their raw form πŸ™ˆ
  • -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. ghosting the ghosts πŸ’€
  • -strip_path_prefix=<string> β€” strip this prefix from files paths in reports βœ‚οΈ
  • -use_default_ignorelist=0 β€” alias for --no-use_default_ignore_list

ngl bestie, that's the whole page. every flag, every alias, every action, all accounted for. vibe check: passed. βœ…

okay that's a wrap on the group chat πŸ’– this was sancov 19, dated June 2025, and she's still serving. go forth and instrument your binaries, you absolute main character. mwah πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from