minify-html/fuzz
Wilson Lin 82d287d9c4 Restructure Rust project 2021-08-08 17:40:42 +10:00
..
in Let esbuild handle closing script and style tag escaping 2021-08-08 17:18:50 +10:00
process Restructure Rust project 2021-08-08 17:40:42 +10:00
src Update fuzzer 2021-08-07 19:14:08 +10:00
.gitignore Fix entity decoding in attribute; create fuzzer project; simplify code 2019-12-28 23:06:04 +11:00
Cargo.toml Restructure Rust project 2021-08-08 17:40:42 +10:00
README.md Rename to minify-html 2020-07-12 01:29:34 +10:00

README.md

Fuzzing

This folder contains a Cargo package for a fuzz target that can be used for fuzzing with american fuzzy lop. Fuzzing has found many rare bugs and unhandled edge cases that cause crashes and is invaluable for improving the reliability of minify-html.

Inputs

Initial inputs can be found in the in folder.

Building

cargo afl build

Running

cargo afl fuzz -i in -o out target/debug/minify-html-fuzz-target

Results

Inputs that cause a crash are found in the out/crashes folder.