Fixed libafl_atheris Makefile and flag read (#1499)

This commit is contained in:
Evan 2023-09-04 19:31:31 -04:00 committed by GitHub
parent 2076fc0722
commit 9645dca274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ fuzzer: target/release/libafl_atheris.a atheris env
)
clean:
rm env
rm -rf env
env:
python3 -m venv env

View File

@ -170,7 +170,7 @@ pub extern "C" fn LLVMFuzzerRunDriver(
.get_one::<String>("remote_broker_addr")
.map(|s| s.parse().expect("Invalid broker address"));
let input_dirs: Vec<PathBuf> = matches
.get_many::<PathBuf>("input")
.get_many::<String>("input")
.map(|v| v.map(PathBuf::from).collect())
.unwrap_or_default();
let output_dir = matches