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.0.tar.gz (30.2 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.0-py3-none-any.whl (34.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: covtool-0.4.0.tar.gz
  • Upload date:
  • Size: 30.2 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.0.tar.gz
Algorithm Hash digest
SHA256 ce460bee67e5d5feda940a867aa94e812f78ddac79fee2606c569f53f1b06b0e
MD5 3d56ecc2b26ab2dddab33da38cf945a8
BLAKE2b-256 8a11b8e991128df7ea1ececf52026a81c2e5aad609c37106d8c9f4321f8dd030

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covtool-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 34.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 75674b5a0598c1a931ad3db797bf56678f0e93a84a7bff1ce9156a10d4f5ee82
MD5 f4772fa8463e337cffc41b9569f0482f
BLAKE2b-256 c8d0a969a72ecf5bd08951a99de81ac0a80b381ff117889f7174ddb0afad06a1

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