OS Manuals

/usr/bin/sancov

Low-level virtual machine 15 - core frameworks

From llvm-15 15.0.7-r32 (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...>

OPTIONS:

Generic Options:

  --help                       - Display available options (--help-hidden for more)
  --help-list                  - Display list of available options (--help-list-hidden for more)
  --version                    - Display the version of this program

sancov Options:

  Action (required)
      --print                     - Print coverage addresses
      --print-coverage-pcs        - Print coverage instrumentation points addresses.
      --covered-functions         - Print all covered funcions.
      --not-covered-functions     - Print all not covered funcions.
      --print-coverage-stats      - Print coverage statistics.
      --html-report               - REMOVED. Use -symbolize & coverage-report-server.py.
      --symbolize                 - Produces a symbolized JSON report from binary report.
      --merge                     - Merges reports.
  --demangle                   - Print demangled function name
  --ignorelist=<string>        - Ignorelist file (sanitizer ignorelist format)
  --skip-dead-files            - Do not list dead source files in reports
  --strip_path_prefix=<string> - Strip this prefix from file paths in reports
Options (16)
OptionDescriptionSource
-print-coverage-pcs- coverage-instrumented binary fileshelp
-print-coverage- .sancov fileshelp
--help- Display available options (--help-hidden for more)help
--help-list- Display list of available options (--help-list-hidden for more)help
--version- Display the version of this programhelp
--print- Print coverage addresseshelp
--print-coverage-pcs- Print coverage instrumentation points addresses.help
--covered-functions- Print all covered funcions.help
--not-covered-functions- Print all not covered funcions.help
--print-coverage-stats- Print coverage statistics.help
--html-report- REMOVED.help
--symbolize- Produces a symbolized JSON report from binary report.help
--merge- Merges reports.help
--demangle- Print demangled function namehelp
--ignorelist string- Ignorelist file (sanitizer ignorelist format)help
--skip-dead-files- Do not list dead source files in reportshelp

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