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

Feature Request: MIPS and RISC-V #223

Open
Legoclones opened this issue Sep 28, 2024 · 1 comment
Open

Feature Request: MIPS and RISC-V #223

Legoclones opened this issue Sep 28, 2024 · 1 comment

Comments

@Legoclones
Copy link

What would it take to extend one_gadget to support MIPS and RISC-V architectures?

@david942j
Copy link
Owner

david942j commented Oct 1, 2024

https://github.com/david942j/one_gadget/pull/64/files was how much it took to enable AArch64.

The PR was larger than it should be as it was the first time to add a non-x86 arch so a lot refactoring was required.

You can search for "aarch64" in the PR to have basic ideas on how many new classes might be needed. But overall it's certainly non-trivial since the current design of symbolic execution (lambda.rb) may not be always suitable to different archs (I am neither a MIPS nor RISC-V expert so hard to tell without digging into their ISA).

Open for pull requests or discussions for sure :)

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