We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7889a5 commit 8d81e34Copy full SHA for 8d81e34
libafl/src/generators/nautilus.rs
@@ -89,9 +89,10 @@ impl NautilusContext {
89
let grammar_file = grammar_file.as_ref();
90
if grammar_file.extension().unwrap_or_default() == "py" {
91
log::debug!("Creating NautilusContext from python grammar");
92
- let ctx = python_grammar_loader::load_python_grammar(
+ let mut ctx = python_grammar_loader::load_python_grammar(
93
fs::read_to_string(grammar_file)?.as_str(),
94
);
95
+ ctx.initialize(tree_depth);
96
return Ok(Self { ctx });
97
}
98
log::debug!("Creating NautilusContext from json grammar");
0 commit comments