mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-18 04:38:09 +00:00
fixing input marker expansion in the supervisor task (#87)
This commit is contained in:
@ -120,7 +120,7 @@ pub async fn run_tool(input: impl AsRef<Path>, config: &Config) -> Result<()> {
|
||||
let mut tool_args = Expand::new();
|
||||
|
||||
tool_args
|
||||
.input(&input)
|
||||
.input_path(&input)
|
||||
.target_exe(&config.target_exe)
|
||||
.target_options(&config.target_options)
|
||||
.analyzer_exe(&config.analyzer_exe)
|
||||
|
@ -192,7 +192,7 @@ async fn start_supervisor(
|
||||
.input_corpus(inputs_dir);
|
||||
|
||||
if let Some(input_marker) = supervisor_input_marker {
|
||||
expand.input(input_marker);
|
||||
expand.input_marker(input_marker);
|
||||
}
|
||||
|
||||
let args = expand.evaluate(supervisor_options)?;
|
||||
|
@ -132,7 +132,7 @@ async fn merge(config: &Config, output_dir: impl AsRef<Path>) -> Result<()> {
|
||||
let mut supervisor_args = Expand::new();
|
||||
|
||||
supervisor_args
|
||||
.input(&config.supervisor_input_marker)
|
||||
.input_marker(&config.supervisor_input_marker)
|
||||
.input_corpus(&config.unique_inputs.path)
|
||||
.target_options(&config.target_options)
|
||||
.supervisor_exe(&config.supervisor_exe)
|
||||
|
Reference in New Issue
Block a user