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

Add disassembly support for ARM/AArch64 #863

Open
gabrielesvelto opened this issue Aug 14, 2023 · 1 comment
Open

Add disassembly support for ARM/AArch64 #863

gabrielesvelto opened this issue Aug 14, 2023 · 1 comment

Comments

@gabrielesvelto
Copy link
Collaborator

We can use the yaxpeax-arm crate for that. I wonder if we can abstract the disassembly support using yaxpeax-arch so we don't need to keep two distinct paths for the x86 and ARM architectures (at least until we have to deal with the actual instructions).

@luser
Copy link
Collaborator

luser commented Aug 23, 2023

It's probably a bit out-of-date at this point, but a while ago I tried switching my disasm crate from capstone to yaxpeax-arch. It was pretty straightforward, feel free to use this code as reference if it's helpful:
https://github.com/luser/rust-disasm/blob/c7ffc6fddcbfabe01c96682cd8933331af83e4f5/src/lib.rs#L277-L416

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

No branches or pull requests

2 participants