nautilus-fuzz / nautilus

A grammar based feedback Fuzzer
MIT License
427 stars 64 forks source link

Error while running the generator #37

Open r3bb1t opened 1 year ago

r3bb1t commented 1 year ago

While running the command from the example i get the following error:

researcher@DESKTOP:~/leaning_to_fuzz/nautilus$ RUST_BACKTRACE=1 cargo run --bin generator -- -g grammars/grammar_py_example.py -t 100 Finished dev [unoptimized + debuginfo] target(s) in 0.07s Running target/debug/generator -g grammars/grammar_py_example.py -t 100 thread 'main' panicked at 'Mismatch between definition and access of tree_depth. Could not downcast to usize, need to downcast to alloc::string::String ', fuzzer/src/generator.rs:67:10 stack backtrace: 0: rust_begin_unwind at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:575:5 1: core::panicking::panic_fmt at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:64:14 2: clap::parser::error::MatchesError::unwrap at /home/researcher/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-4.0.32/src/parser/error.rs:30:9 3: clap::parser::matches::arg_matches::ArgMatches::get_one at /home/researcher/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-4.0.32/src/parser/matches/arg_matches.rs:113:9 4: generator::main at ./fuzzer/src/generator.rs:66:23 5: core::ops::function::FnOnce::call_once at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:507:5 note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.