FRET-LibAFL/fuzzers/libfuzzer_stb_image_sugar
Dongjia "toka" Zhang 6f21cb3848
Bump to 0.10.1 (#1280)
* bmp

* remove DEBUG env var
2023-05-22 12:42:36 +02:00
..
2021-07-20 11:47:33 +02:00
2021-07-20 11:47:33 +02:00
2023-05-22 12:42:36 +02:00
2021-07-20 11:47:33 +02:00

Libfuzzer for stb_image with libafl_sugar

This folder contains an example fuzzer for stb_image, using LLMP for fast multi-process fuzzing and crash detection. It has been tested on Linux and Windows.

Build

To build this example, run cargo build --release. This will build the the fuzzer (src/main.rs) with the libfuzzer compatibility layer and the SanitizerCoverage runtime functions for coverage feedback as a standalone binary.

Unlike the libpng example, in this example the harness (that entirely includes the program under test) is compiled in the build.rs file while building the crate, and linked with the fuzzer by cargo when producing the final binary, target/release/libfuzzer_stb_image.