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.3.tar.gz (31.6 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.3-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for covtool-0.4.3.tar.gz
Algorithm Hash digest
SHA256 fe01547bd21a0e0d2e2cbba2e5cbbda3e712ea0baae7da244931a10e20d417ce
MD5 c6b8eef32e5349ee0ac4882012af427e
BLAKE2b-256 4e0160874eb106224a5f6b64969775c4c238e2bf3e46abfb0f7b132f03c0bfc0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for covtool-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8ca24b72a89f45276fedee02dc3f1097da9e6eb65169b42983282c5b5b5207b3
MD5 3878ab0e23025ffd73c9fd6f9b203502
BLAKE2b-256 9fccf5bdb6173864011be70e4431b820385699d051eb5cb6c8a75588f81c2b39

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