Skip to main content

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

Metadata

Release files for covtool 0.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for covtool 0.4.4
File Size Uploaded Provenance
covtool-0.4.4.tar.gz 32.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for covtool 0.4.4
File Interpreter ABI Platform
covtool-0.4.4-py3-none-any.whl Python 3 none any Details

Total release size: 69.2 kB

Release files / covtool-0.4.4.tar.gz

Download URL covtool-0.4.4.tar.gz
Size 32.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f08796ec40e4f88aa73664b1756fd406e95cb76ced3b5e00938064af9a5c6ec0
BLAKE2b-256 checksum
How to use checksums
8813d477c014fa234876786baea95988107fc6731fe012d1d1c874f88f5377fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Release files / covtool-0.4.4-py3-none-any.whl

Download URL covtool-0.4.4-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce2c481340c506b0215b5294b01882184e946278ecb7a3537b7200fd0933e795
BLAKE2b-256 checksum
How to use checksums
6665597af9a302da50fac835138dfa3c64380ffdc3104b6b1cb5d37b4aa56931
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.3 CPython/3.13.5 Darwin/24.5.0

Security for covtool 0.4.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page