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/README.md

23 lines
570 B
Markdown
Raw Normal View History

2020-01-31 23:38:58 +11:00
# Fuzzing
2020-07-12 01:29:34 +10:00
This folder contains a Cargo package for a fuzz target that can be used for fuzzing with [american fuzzy lop](https://github.com/google/AFL). Fuzzing has found many rare bugs and unhandled edge cases that cause crashes and is invaluable for improving the reliability of minify-html.
2020-01-31 23:38:58 +11:00
## Inputs
Initial inputs can be found in the [in](./in) folder.
## Building
```bash
cargo afl build
```
## Running
```bash
2020-07-12 01:29:34 +10:00
cargo afl fuzz -i in -o out target/debug/minify-html-fuzz-target
2020-01-31 23:38:58 +11:00
```
## Results
Inputs that cause a crash are found in the `out/crashes` folder.