Slightly more accurate decoding of unknown instructions
This commit is contained in:
parent
6932383e66
commit
825007b4fa
@ -73,6 +73,8 @@ static int _i386_decode(ArchPlugin * plugin, ArchInstructionCall * call)
|
|||||||
opcode);
|
opcode);
|
||||||
if(ai != NULL)
|
if(ai != NULL)
|
||||||
helper->read(helper->arch, &u8, sizeof(u8));
|
helper->read(helper->arch, &u8, sizeof(u8));
|
||||||
|
else
|
||||||
|
opcode >>= 8;
|
||||||
}
|
}
|
||||||
if(ai == NULL)
|
if(ai == NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user