mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
bc7736bc99
# Description This PR adds a fuzzer for the nu-path and the nu-parser crate. Now you can go to `crates/nu-path/fuzz`/`crates/nu-parser/fuzz` and run `cargo fuzz` to find crashes. https://github.com/nushell/nushell/issues/10365 and #9417 was found by this --------- Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
9 lines
271 B
Markdown
9 lines
271 B
Markdown
# Fuzzer for `nu-path`
|
|
|
|
- For detailed info, please look at [cargo-fuzz](https://github.com/rust-fuzz/cargo-fuzz)
|
|
|
|
# Quick start guide
|
|
- Install cargo-fuzz by `cargo install cargo-fuzz`
|
|
- Make output directory `mkdir out`
|
|
- Run the fuzzer with `cargo fuzz run parse out`
|