fix elf path

This commit is contained in:
Alwin Berger 2022-01-28 11:35:05 +01:00
parent 8a82ecac9d
commit ba85877ab4

View File

@ -182,7 +182,7 @@ fn fuzz(
let emu = Emulator::new(&mut args, &mut env);
//=========== Analyze the binary to find the target function address
let mut elf_buffer = Vec::new();
let bin_path=Path::new("./RTOSDemo.axf");
let bin_path=kernel;
let elf = EasyElf::from_file(bin_path, &mut elf_buffer)?;
let test_one_input_ptr = elf