qemu-coverage

This folder contains an example fuzzer which runs each entry in the input corpus and collects the cumuative coverage data in drcov format. This fuzzer also distributes the test cases in the input corupus evenly across the selected cores.

The following architectures are supported:

  • arm
  • aarch64
  • i386
  • x86_64
  • mips
  • ppc

Prerequisites

sudo apt install \
    gcc-arm-linux-gnueabi \
    g++-arm-linux-gnueabi \
    gcc-aarch64-linux-gnu \
    g++-aarch64-linux-gnu \
    gcc \
    g++ \
    gcc-mipsel-linux-gnu \
    g++-mipsel-linux-gnu \
    gcc-powerpc-linux-gnu \
    g++-powerpc-linux-gnu

Run

Defaults to x86_64 architecture

cargo make run
cargo make <arch>