-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unable to disassemble specific instruction in RISCV #2278
Comments
another instruction: 0x63cd3d03 -> ld x26, 1596(x26). It seems it is affecting LD instructions. The interesting part is that tools like ROPGadget can disassemble it correctly. |
Unfortunately, the RISCV module is still not updated and is at the level of LLVM 7. This is likely why it isn't decoding it. |
I am sorry. I couldn't find a way to send a private message to you, Rot127, so I am sending it here. Can I work to fix this issue? I just saw a Kaban-like dashboard after clicking the link Capstone V6 Plan. How does the collaboration work? |
Can you ping me in the Telegram channel of Capstone, please? |
If you can't use Telegram I would write something properly out for RISCV, but it will take a day or two. |
@trojanwarriors There is the idea to generate the RISCV module not from LLVM, but use SAIL. Because the definitions have way better quality. |
It is working now with CS_MODE_RISCV64 instead of CS_MODE_RISCVC. Great! |
I tried to disassemble a specific instruction, and Capstone couldn't return with the correct output
The following Python code reproduces the error:
The output shows that only the second instruction could be disassembled:
The text was updated successfully, but these errors were encountered: