Crate libafl_sugar

Source
Expand description

Sugar API to simplify the life of users of LibAFL that just want to fuzz.

§Feature Flags

§General Features

  • python — Build python bindings

§Features for libafl_qemu (Linux only)

The following architecture features are mutually exclusive.

  • x86_64 — build qemu for x86_64 (default)
  • i386 — build qemu for i386
  • arm — build qemu for arm
  • aarch64 — build qemu for aarch64
  • mips — build qemu for mips (el, use with the ‘be’ feature of mips be)
  • ppc — build qemu for powerpc
  • hexagon — build qemu for hexagon
  • riscv32 — build qemu for riscv 32bit
  • riscv64 — build qemu for riscv 64bit

Re-exports§

pub use inprocess::InProcessBytesCoverageSugar;
pub use qemu::QemuBytesCoverageSugar;
pub use forkserver::ForkserverBytesCoverageSugar;

Modules§

forkserver
An afl-style forkserver fuzzer. Use this if your target has complex state that needs to be reset.
inprocess
In-Process fuzzing made easy. Use this sugar for scaling libfuzzer-style fuzzers.
qemu
In-Process fuzzer with QEMU-based binary-only instrumentation

Constants§

CORPUS_CACHE_SIZE
Default cache size for the corpus in memory. Anything else will be on disk.
DEFAULT_TIMEOUT_SECS
Default timeout for a run

Functions§

python_module
The sugar python module