Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 475 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 475 Bytes

Fuzz oxc parser

Using shift

pnpm install
pnpm run start

Using cargo fuzz

cargo install cargo-fuzz

Run

Run fuzzer for the parser, for 15 minutes.

cd fuzz
rustup default nightly

# JavaScript Parser
cargo +nightly fuzz run --sanitizer none parser -- -only_ascii=1 -max_total_time=900 -timeout=5

# Regular Expression Parser
cargo +nightly fuzz run --sanitizer none regex -- -only_ascii=1 -max_total_time=900 -timeout=5