Skip to main content

a multitool for manipulating coverage traces for dynamic analysis

Project description

covtool

a multitool for manipulating coverage traces for dynamic analysis

primarily built around the standard-ish DrCov coverage trace format; but supports converting other, simpler trace formats. also supports a custom backwards-compatible extension to the DrCov format to track block hitcounts.

features

  • a flagship tui for inspecting traces
  • view stats about coverage traces
  • perform queries (intersection, difference, etc.) on multiple traces
  • lift simple formats to drcov (write your own coverage tools)

install

uv tool install covtool

coverage formats

flagship: drcov (+hits)

this is either the standard DrCov format (any version), or the custom extension to support hitcounts.

simple formats (lifted to drcov)

you can make a file that just outputs block traces in very simple formats (one entry per line). these get auto-detected and can be converted to drcov using the lift tool:

  • module+offset: boombox+3a06
  • address: 14000419c or 0x14000419c
  • address+hits: 14000419c 24

you can lift to the standard format by specifying module names and optionally base addresses:

covtool lift input.txt -o output.drcov -M module@base_addr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

covtool-0.4.1.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

covtool-0.4.1-py3-none-any.whl (34.7 kB view details)

Uploaded Python 3

File details

Details for the file covtool-0.4.1.tar.gz.

File metadata

  • Download URL: covtool-0.4.1.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.4.0

File hashes

Hashes for covtool-0.4.1.tar.gz
Algorithm Hash digest
SHA256 a931df3b4cb3b607e4176c6ee9ee0815d23e1d063e675facb11e61822514bdf0
MD5 658dd9881e9c130e81cbb4734a648d1b
BLAKE2b-256 8f67b32e128efc4e1457eeefa5369a2b339873a8a8bc7477319fd2587e2d6b08

See more details on using hashes here.

File details

Details for the file covtool-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: covtool-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 34.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.5 Darwin/24.4.0

File hashes

Hashes for covtool-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1991175c5e40492f6f711345c6ada97b2c760e3302520e4f1f1002054e488c5
MD5 bccaf47a877adcdfbc74d8dcaf0d68f2
BLAKE2b-256 cbca478b3c69ba01deabdb6025680fd0487f103ed849f149fbe6cd2193524de4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page