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

PPC: RZIL suppport for VLE #2902

Open
Rot127 opened this issue Aug 10, 2022 · 0 comments
Open

PPC: RZIL suppport for VLE #2902

Rot127 opened this issue Aug 10, 2022 · 0 comments

Comments

@Rot127
Copy link
Member

Rot127 commented Aug 10, 2022

Is your feature request related to a problem? Please describe.

While Rizin supports the VLE extension via the internal libvle the instructions are not uplifted to RZIL yet.

One challenge for this is that the RZIL code makes a lot of use of Capstone's cs_insn.detail.ppc struct (which holds the operand information).

Describe the solution you'd like

Since many 32bit VLE instructions match the normal instructions by operands and execution semantics, an adapter function between vle_t <-> cs_insn could be added. This would allow to use the current code to be used by libvle as well.

For the 16bit instructions, which differ more significantly, additional code should be written.

Describe alternatives you've considered
None

Additional context

libvle: https://github.com/rizinorg/rizin/tree/dev/librz/asm/arch/ppc/libvle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants