-
-
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
wrong analysis of 16bit jumps #36
Comments
I have workarounded a little to identify the issue. text disasm looks correct, but code analysis fails because opcode length differs from the disasm one (anal != asm). What looks wrong for me is this:
I would suggest writing a separate x86-16 code analysis,because it seems to have strange results. Also notice that the 32bit disassembly shows 16bit registers, and 16bit one shows 32bit ones :? is this correct? also here there is the disasm done by pyew and ida: (thx matalaz) |
Image is here - http://xvilka.me/ami_bios.bin
|
Should be fixed in the last commit in git. now the anal.x86 uses anal.x86.udis86 when asm.bits is 16 Thanks! |
Not exactly wrong but not sure if this notation is good enough:
|
Also this (note the jb instruction at [f000:4749]):
|
is this a capstone regression? |
i would say no. lets open a bug in capstone before they release! quick! On 11/10/2014 01:11 PM, Anton Kochkov wrote:
|
i have opened this issue. lets see if they can fix it quickly. distros On 11/10/2014 01:11 PM, Anton Kochkov wrote:
|
@radare lets wait a bit, depends if they can fix it fast enough. |
its fixed now :) quite fast, isnt? can you retry? |
Fixed for
but still present to
|
Shouldnt be discussed with capstone?
|
This thing depends partly on a capstone bug that is taking more time to get fixed that the expected.. so lets move this to 1.0 |
What capstone bug? |
capstone-engine/capstone#352 capstone-engine/capstone#352 Also see: capstone-engine/capstone#111 (comment) capstone-engine/capstone#111 (comment)
|
@XVilka looks like the
Regressed again, it needs a test definitely, see the result of $j =>
|
Capstone issue again? Is there a test?
|
is this still an issue? is this a capstone bug? |
Moving to 9999 release because i guess capstone will never fix this |
And no that's not fixed in r2 patch see the broken test |
For example, see this code:
Here radare2 can recognize deadloop:
but not this normal jump:
The text was updated successfully, but these errors were encountered: