Skip to main content

No project description provided

Project description

fuzzer-cov

fuzzer coverage tool, generate readable coverage report in html format

Prerequisite

Install lcov package

on ubuntu:

apt-get install lcov

Installation

$ python3 -m pip install fuzzer-cov

Verify that the pacakge is installed successfully.

$ python3 -m fuzzer_cov --help
usage: fuzzer_cov [-h] [--version]

optional arguments:
  -h, --help  show this help message and exit
  --version   print version string

CLI Usage

LibFuzzer

generate coverage report for LibFuzzer.

$ python3 -m fuzzer_cov.commands.libfuzzer --help
usage: fuzzer_cov.commands.libfuzzer [-h] --fuzzer FUZZER -s SRC -o OUT -c
                                     CORPUS_DIR [--lcov-follow-links]
                                     [--enable-branch-coverage]
                                     [--lcov-exclude-pattern LCOV_EXCLUDE_PATTERN]
                                     [--lcov-path LCOV_PATH]
                                     [--gen-html-path GEN_HTML_PATH] [-v] [-V]
                                     [-q]

optional arguments:
  -h, --help            show this help message and exit
  --fuzzer FUZZER       Fuzzer Path (gcov instrumented)
  -s SRC, --src SRC     Source root directory
  -o OUT, --out OUT     Coverage output directory
  -c CORPUS_DIR, --corpus-dir CORPUS_DIR
                        Corpus (inputs) Directory
  --lcov-follow-links   Follow links when searching .da files
  --enable-branch-coverage
                        Include branch coverage in code coverage reports (may
                        be slow)
  --lcov-exclude-pattern LCOV_EXCLUDE_PATTERN
                        Set exclude pattern for lcov results
  --lcov-path LCOV_PATH
                        Path to lcov command
  --gen-html-path GEN_HTML_PATH
                        Path to genhtml command
  -v, --verbose         Verbose mode
  -V, --version         Print version and exit
  -q, --quiet           Quiet mode

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

fuzzer-cov-0.2.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

fuzzer_cov-0.2.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file fuzzer-cov-0.2.1.tar.gz.

File metadata

  • Download URL: fuzzer-cov-0.2.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for fuzzer-cov-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e42ee4ed51d575647b88c65c76603ff27a680e260d42b16f9d11a94bacc90bd3
MD5 8e35c3d359639377a80f1c212d517202
BLAKE2b-256 ea4f5533398c9587df4b203cfa4730adc234d40d59c2d7816013daaa1560dcea

See more details on using hashes here.

File details

Details for the file fuzzer_cov-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: fuzzer_cov-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.9.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for fuzzer_cov-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8009cd16e2fbd46a71a96dc3eede612c359b554312376aea88e72098d0dbf6f2
MD5 1139a48717a444d30bb2045864de3f4b
BLAKE2b-256 e14d7da5478ee9e0bd8505640726021d442418da8e953ff54bc90b59b2a2b775

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page