fix elf path
This commit is contained in:
parent
8a82ecac9d
commit
ba85877ab4
@ -182,7 +182,7 @@ fn fuzz(
|
|||||||
let emu = Emulator::new(&mut args, &mut env);
|
let emu = Emulator::new(&mut args, &mut env);
|
||||||
//=========== Analyze the binary to find the target function address
|
//=========== Analyze the binary to find the target function address
|
||||||
let mut elf_buffer = Vec::new();
|
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 elf = EasyElf::from_file(bin_path, &mut elf_buffer)?;
|
||||||
|
|
||||||
let test_one_input_ptr = elf
|
let test_one_input_ptr = elf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user