You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi SergeyAnfalov,
The problem occurs because InstDecode assumes that any instruction from table 2 (prefix 0x0f 0xxx) uses op prefix as mandatory prefix (which is not).
I'll solve that problem in the next major update because it requires to update the whole architecture to solve that problem.
If you're using InstDecode alone without Detours, I strongly recommend that you use UnivDisasm library instead meanwhile I fix this critical bug.
Hello again !
I just created a new branch v3 and it contains InstDecode v3.
The new version has a fix for this issue ... So I will close this issue when merging.
8 byte instruction 66 0f af 1d 77 00 00 00 (imul bx,WORD PTR ds:0x77) is decoded as 3 bytes length.
Same instruction without operand prefix 66 decoded corectly.
0f af 1d 77 00 00 00 (imul ebx,DWORD PTR ds:0x77) is decoded as 7 bytes length.
The text was updated successfully, but these errors were encountered: