Skip to content
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

Merged
merged 3 commits into from
Dec 15, 2023
Merged

Remove capstone from frida [x86_64] #1720

merged 3 commits into from
Dec 15, 2023

Conversation

tokatoka
Copy link
Member

@tokatoka tokatoka commented Dec 8, 2023

No description provided.

@tokatoka tokatoka requested a review from s1341 December 8, 2023 18:03
@tokatoka
Copy link
Member Author

tokatoka commented Dec 8, 2023

it's not done but, almost

41 => (Some(18), Some(64)),
fn register_idx(&self, reg: X86Register) -> (Option<u16>, Option<u16>) {
match reg {
X86Register::Eax => (Some(0), Some(32)),
Copy link
Collaborator

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))?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

{
let insns = disas_count(
&decoder,
unsafe { std::slice::from_raw_parts(start_pc as *mut u8, 4 * 11) },
Copy link
Collaborator

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@s1341 s1341 mentioned this pull request Dec 14, 2023
@tokatoka
Copy link
Member Author

if this is resolved then good to go
iximeow/yaxpeax-x86#31 (comment)

@tokatoka tokatoka merged commit a0a4dd6 into main Dec 15, 2023
9 of 16 checks passed
@tokatoka tokatoka deleted the decapstone branch December 15, 2023 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants