Fix handling of 66h prefix on jumps
It turns out that in x86-64 mode, address and operand size overrides are ignored by the processor. (Tested that on a real machine.) Even libopcodes gets this wrong...
This commit is contained in:
@@ -19,6 +19,7 @@ testcases = [
|
||||
['enter', 'decode-enter.sh'],
|
||||
['imul', 'decode-imul.sh'],
|
||||
['inc', 'decode-inc.sh'],
|
||||
['jmp', 'decode-jmp.txt'],
|
||||
['movsx', 'decode-movsx.sh'],
|
||||
['ret', 'decode-ret.sh'],
|
||||
|
||||
|
||||
Reference in New Issue
Block a user