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
  • edit traces (rebase modules, adjust offsets)
  • 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.4.tar.gz (32.4 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.4-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: covtool-0.4.4.tar.gz
  • Upload date:
  • Size: 32.4 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.4.tar.gz
Algorithm Hash digest
SHA256 f08796ec40e4f88aa73664b1756fd406e95cb76ced3b5e00938064af9a5c6ec0
MD5 acb522110fe415458e11e8dd9bd00180
BLAKE2b-256 8813d477c014fa234876786baea95988107fc6731fe012d1d1c874f88f5377fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covtool-0.4.4-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce2c481340c506b0215b5294b01882184e946278ecb7a3537b7200fd0933e795
MD5 a95f0c9f3fb6a2b2b7a491d9e52fdc4a
BLAKE2b-256 6665597af9a302da50fac835138dfa3c64380ffdc3104b6b1cb5d37b4aa56931

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