This repository has been archived on 2025-10-15. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
minify-html/fuzz
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

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.