minify-html/fuzz
Wilson Lin d427d2753a Implement c14n; minify doctypes; minify viewport tags 2021-08-10 02:56:48 +10:00
..
in Implement c14n; minify doctypes; minify viewport tags 2021-08-10 02:56:48 +10:00
process Formatting 2021-08-09 19:56:37 +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.