1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-13 04:46:17 +02:00
Files
.cargo
.githooks
.github
assets
benches
crates
nu-cli
nu-cmd-base
nu-cmd-dataframe
nu-cmd-extra
nu-cmd-lang
nu-color-config
nu-command
nu-engine
nu-explore
nu-glob
nu-json
nu-lsp
nu-parser
fuzz
fuzz_targets
.gitignore
Cargo.toml
README.md
gather_seeds.nu
rust-toolchain.toml
src
tests
Cargo.toml
LICENSE
README.md
nu-path
nu-plugin
nu-pretty-hex
nu-protocol
nu-std
nu-system
nu-table
nu-term-grid
nu-test-support
nu-utils
nu_plugin_custom_values
nu_plugin_example
nu_plugin_formats
nu_plugin_gstat
nu_plugin_inc
nu_plugin_python
nu_plugin_query
README.md
docker
scripts
src
tests
wix
.gitattributes
.gitignore
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Cargo.lock
Cargo.toml
Cross.toml
LICENSE
PLATFORM_SUPPORT.md
README.md
rust-toolchain.toml
toolkit.nu
nushell/crates/nu-parser/fuzz
Dongjia "toka" Zhang bc7736bc99 Add 2 fuzzers for nu-path, nu-parser ()
# 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  was found by
this


---------

Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2023-09-16 22:32:53 +02:00
..

Fuzzer for nu-parser

Quick start guide

  • Install cargo-fuzz by cargo install cargo-fuzz
  • Run gather_seeds.nu for preparing the initial seeds corpus
  • Make output directory mkdir out
  • Run the fuzzer with cargo fuzz run parse out seeds