FRET-LibAFL/fuzzers/libfuzzer_stb_image_sugar
Dongjia "toka" Zhang a98805b4ca
Another attemp to fix CI (#1744)
* fixing?

* more

* delete macos build_and_run fuzzers as its runtime exceeds 360minutes and can't fix it
2023-12-21 04:43:01 +09:00
..
2021-07-20 11:47:33 +02:00
2021-07-20 11:47:33 +02:00
2023-12-18 14:33:14 +01:00
2023-12-21 04:43:01 +09: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.