-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove capstone from frida [x86_64] #1720
Conversation
it's not done but, almost |
libafl_frida/src/asan/asan_rt.rs
Outdated
41 => (Some(18), Some(64)), | ||
fn register_idx(&self, reg: X86Register) -> (Option<u16>, Option<u16>) { | ||
match reg { | ||
X86Register::Eax => (Some(0), Some(32)), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make this return a Some((u16, u16))?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
libafl_frida/src/asan/errors.rs
Outdated
{ | ||
let insns = disas_count( | ||
&decoder, | ||
unsafe { std::slice::from_raw_parts(start_pc as *mut u8, 4 * 11) }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps we should increase the 4
here to 16
(which is close enough to the limit of a single instruction IIRC), and then only display the first 11 instructions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
if this is resolved then good to go |
No description provided.