parent
82194c5fe5
commit
327ff98ea1
@ -30,7 +30,7 @@ reqwest = { version = "0.11.4", features = ["blocking"] }
|
||||
[dependencies]
|
||||
libafl = { path = "../../libafl/", features = [ "std", "llmp_compression", "llmp_bind_public" ] } #, "llmp_small_maps", "llmp_debug"]}
|
||||
capstone = "0.10.0"
|
||||
frida-gum = { version = "0.6.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||
frida-gum = { version = "0.6.3", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||
libafl_frida = { path = "../../libafl_frida", features = ["cmplog"] }
|
||||
libafl_targets = { path = "../../libafl_targets", features = ["sancov_cmplog"] }
|
||||
lazy_static = "1.4.0"
|
||||
|
@ -27,7 +27,7 @@ hashbrown = "0.11"
|
||||
libloading = "0.7"
|
||||
rangemap = "0.1"
|
||||
frida-gum-sys = { version = "0.3", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||
frida-gum = { version = "0.6.1", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||
frida-gum = { version = "0.6.3", features = [ "auto-download", "event-sink", "invocation-listener"] }
|
||||
core_affinity = { version = "0.5", git = "https://github.com/s1341/core_affinity_rs", rev = "6648a7a" }
|
||||
regex = "1.4"
|
||||
dynasmrt = "1.2"
|
||||
|
@ -2307,6 +2307,10 @@ impl AsanRuntime {
|
||||
X86Register::Rip => {
|
||||
writer.put_mov_reg_address(X86Register::Rsi, true_rip);
|
||||
}
|
||||
X86Register::Rdi => {
|
||||
// In this case rdi is already clobbered, so we want it from the stack (we pushed rdi onto stack before!)
|
||||
writer.put_mov_reg_reg_offset_ptr(X86Register::Rsi, X86Register::Rsp, -0x28);
|
||||
}
|
||||
_ => {
|
||||
writer.put_mov_reg_reg(X86Register::Rsi, indexreg.unwrap());
|
||||
}
|
||||
|
@ -509,7 +509,7 @@ impl AsanErrors {
|
||||
|
||||
cs.set_skipdata(true).expect("failed to set skipdata");
|
||||
|
||||
let start_pc = pc - 4 * 5;
|
||||
let start_pc = pc;
|
||||
for insn in cs
|
||||
.disasm_count(
|
||||
unsafe { std::slice::from_raw_parts(start_pc as *mut u8, 4 * 11) },
|
||||
|
Loading…
x
Reference in New Issue
Block a user