mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 19:49:49 +00:00
Fixed a bug in the disassembler where the mandatory 0x66
prefix would be misinterpreted in some cases on 32-bit x86 platforms. Thanks to Olivier Meurant for identifying the bug. llvm-svn: 124709
This commit is contained in:
parent
c7ce7e2ac3
commit
27a8820ffa
@ -388,6 +388,7 @@ static int readPrefixes(struct InternalInstruction* insn) {
|
||||
}
|
||||
} else {
|
||||
unconsumeByte(insn);
|
||||
insn->necessaryPrefixLocation = insn->readerCursor - 1;
|
||||
}
|
||||
|
||||
if (insn->mode == MODE_16BIT) {
|
||||
|
Loading…
Reference in New Issue
Block a user