-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
"ao" command doesn't respect the "asm.bits" setting #18
Comments
The problem is that the anal plugin was only for 32 and 64. We are using udis86 to disassemble and x86im to analyze. I have pushed a commit that does some more work in anal.plugin=x86.udis86 and also added a hack on top of the default analysis of 32bits to fix that 16bit analysis. Let me know if you find more oplen issues on 16bits. The plan is to work on code analysis internals for the next release. We should use the udis86 info for 16bits. But i dont think we can get a full implementation of the code analysis information. We need more test cases also. Thanks! On Sep 24, 2012, at 20:33, Alexander [email protected] wrote:
|
Thanks for the quick update, but seems the patch isn't quite full. Even if the instruction in the 16-bit mode is 3 byte long, only "ao 5" shows it, along with a bit of the following one, for some reason.
|
I have written a test case for this issue, I will look at it tonight or see: Thanks On 09/25/12 14:02, Alexander wrote:
|
It should be fixed now. Can you test again? |
Works, thanks. |
Closes radareorg#18
So, "pd 1" reports that the opcode length is 3 (which is correct), but "ao 5" says "size: 5". Maybe it interprets it in 32-bit mode instead of 16-bit.
I'm testing on:
The text was updated successfully, but these errors were encountered: