OS Manuals

/usr/bin/sancov

Low-level virtual machine 18 - core frameworks

From llvm-18 18.1.8-r30 (os), captured 2026-11-05 by running sancov --help (exit 0). permalink

OVERVIEW: Sanitizer Coverage Processing Tool (sancov)

  This tool can extract various coverage-related information from:
  coverage-instrumented binary files, raw .sancov files and their symbolized .symcov version.
  Depending on chosen action the tool expects different input files:
    -print-coverage-pcs     - coverage-instrumented binary files
    -print-coverage         - .sancov files
    <other actions>         - .sancov files & corresponding binary files, .symcov files


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

Action (required):
  -covered-functions     Print all covered funcions.
  -html-report           REMOVED. Use -symbolize & coverage-report-server.py.
  -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
Options (17)
OptionDescriptionSource
-print-coverage-pcs- coverage-instrumented binary fileshelp
-print-coverage- .sancov fileshelp
-covered-functionsPrint all covered funcions.help
-html-reportREMOVED.help
-mergeMerges reports.help
-print-coverage-statsPrint coverage statistics.help
-printPrint coverage addresseshelp
-symbolizeProduces a symbolized JSON report from binary report.help
-helpDisplay this helphelp
-hAlias for --helphelp
-vAlias for --versionhelp
-demangle 0Alias for --no-demanglehelp
-no-demangleDo not demangle function nameshelp
-no-skip-dead-filesList dead source files in reportshelp
-skip-dead-files 0Alias for --no-skip-dead-fileshelp
-strip_path_prefix stringStrip this prefix from files paths in reportshelp
-use_default_ignorelist 0Alias for --no-use_default_ignore_listhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.