| Index: src/x64/disasm-x64.cc
|
| diff --git a/src/x64/disasm-x64.cc b/src/x64/disasm-x64.cc
|
| index ded6c331ecf3ef9ff6b8f247a4364fa617c7b7f6..bed99d101a35f8ebccea83a309cded92165e9a80 100644
|
| --- a/src/x64/disasm-x64.cc
|
| +++ b/src/x64/disasm-x64.cc
|
| @@ -503,7 +503,7 @@ int DisassemblerX64::PrintRightOperandHelper(
|
| case 0:
|
| if ((rm & 7) == 5) {
|
| int32_t disp = *reinterpret_cast<int32_t*>(modrmp + 1);
|
| - AppendToBuffer("[0x%x]", disp);
|
| + AppendToBuffer("[rip+0x%x]", disp);
|
| return 5;
|
| } else if ((rm & 7) == 4) {
|
| // Codes for SIB byte.
|
| @@ -1500,6 +1500,8 @@ int DisassemblerX64::TwoByteOpcodeInstruction(byte* data) {
|
| get_modrm(*current, &mod, ®op, &rm);
|
| AppendToBuffer("%s,", NameOfCPURegister(regop));
|
| current += PrintRightOperand(current);
|
| + } else if (opcode == 0x0B) {
|
| + AppendToBuffer("ud2");
|
| } else {
|
| UnimplementedInstruction();
|
| }
|
|
|