Rocket/core/lib/fuzz
Sergio Benitez 3a44b1b28e Hide 'RouteUri' fields to ensure URI coherence.
Prior to this commit, several `RouteUri` fields were public, allowing
those values to be changed at will. These changes were at times not
reflected by the rest of the library, meaning that the values in the
route URI structure for a route became incoherent with the reflected
values. This commit makes all fields private, forcing all changes to go
through methods that can ensure coherence. All values remain accessible
via getter methods.
2023-04-10 13:26:54 -07:00
..
corpus Fuzz to validate routing collision safety. 2023-04-07 20:27:56 -07:00
targets Hide 'RouteUri' fields to ensure URI coherence. 2023-04-10 13:26:54 -07:00
.gitignore Fuzz URI parsing and display. 2021-06-06 21:52:44 -07:00
Cargo.toml Fuzz to validate routing collision safety. 2023-04-07 20:27:56 -07:00
README.md Fuzz URI parsing and display. 2021-06-06 21:52:44 -07:00

README.md

Fuzzing

Install cargo-fuzz:

cargo install -f cargo-fuzz

Run any available target where $target is the name of the target and $n is the number of CPUs to use for fuzzing:

cargo fuzz list # get list of targets
cargo fuzz run $target -j $n