cea-sec / miasm

Reverse engineering framework in Python
https://miasm.re/
GNU General Public License v2.0
3.45k stars 473 forks source link

x86_16 : failed assert for call instruction with 32-bit operand #890

Open plestrin opened 5 years ago

plestrin commented 5 years ago

I get a failed assert in sig_ext when I try to disasm call instruction with 32-bit operand in 16-bit mode.

Example :

from miasm2.arch.x86.arch import mn_x86

print mn_x86.dis('\x66\xE8\xE1\x35\x00\x00', 16)
serpilliere commented 5 years ago

Hi! It seems there is a strange thing happening here. I look into this quickly.

Thank you for the bug report!