-
Notifications
You must be signed in to change notification settings - Fork 6
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
Support Compressed Instructions #1
Comments
capstone-engine/capstone#1682 was merged, closing capstone-engine/capstone#1594. What would need to happen for this to work? |
You're right. I missed that. I did a quick check with the latest capstone from the next branch and adapted the lifter a bit. The compressed instructions are prefixed with Check out the latest commit, which contains some progress but is far from complete. |
@fabianfreyer could you post the binary you are testing on here in this issue? otherwise it is hard to reproduce the problem. I think |
I'll send you a binary that exhibits this problem - to the email address at https://f0rki.at/pages/about.html?
the IL above is from the bn python view, so yes, it seems so? I don't mind adding to the lifter, I'd just like to see it disassemble first ;) |
strange. Yeah you can send it to me via mail or directly attach it to this issue if the binary is public (just drag and drop should work). |
Ah, can't find it on the webpage - there seems to be no sidebar? Also your gpg key 404's ;) |
@fabianfreyer |
@fabianfreyer I can't reproduce this. I am using binary ninja 2.1.2475-dev (Build ID c7d4e572) + today's capstone next branch. |
RISC-V also has a extension for compressed instructions (2-byte). Currently those are not supported, because capstone does not disassemble them correctly.
There is a pull-request, which merges the necessary changes:
capstone-engine/capstone#1594
So we have to wait until this one is merged.
The text was updated successfully, but these errors were encountered: