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

RISC-V ELF support? #22

Open
jackdbd opened this issue Jun 24, 2024 · 2 comments
Open

RISC-V ELF support? #22

jackdbd opened this issue Jun 24, 2024 · 2 comments

Comments

@jackdbd
Copy link
Contributor

jackdbd commented Jun 24, 2024

I tried using sqlelf to analyze a RISC-V ELF binary but got this error:

Unknown machine type for <my RISC-V ELF file>

I then realized that x86_64 is the only architecure supported.

Is there a plan to support RISC-V ELF binaries in the future?

@fzakaria
Copy link
Owner

There's a flag to disable eager loading some tables.
If you turn off the instructions table; it should give you the rest OK.

I believe capstone supports RISC-V so it should be a straightforward improvement.
Want to give it a crack?

@jackdbd
Copy link
Contributor Author

jackdbd commented Jun 30, 2024

I have just started learning RISC-V, but I'll give it a go.

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