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.2.tar.gz (31.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.2-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: covtool-0.4.2.tar.gz
  • Upload date:
  • Size: 31.5 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.2.tar.gz
Algorithm Hash digest
SHA256 da49cf61f2651344684e7d14cd0c235f5071b318252a4b4859ecb1538468557c
MD5 59f5ce3938ce0584249ca2f594c945f1
BLAKE2b-256 b4679f21a909954ce2c670a4fa6a71b2587b60e63c3e804e3183c75c4c72e4fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covtool-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 35.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d3044acbfe0b3e60aef5f9e13e21a9407eba100408fb523685826df943a7f41
MD5 efa9233bc7851ea840deaa3025ed30e5
BLAKE2b-256 994c0266beca6327cea949f34f4669bd90f9682c52f026f44e8c38bc75235184

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