}
/* [RIP + disp] Support Code */
- if( ((Word)p_temp[0]->w_typeid) == OPTYPE_REG_RIP ) {
- p_analyze->modrm.modrm.mod = 0x00;
- p_analyze->modrm.modrm.rm = 0x05;
+ if( NULL != p_temp[0] ) {
+ if( ((Word)p_temp[0]->w_typeid) == OPTYPE_REG_RIP ) {
+ p_analyze->modrm.modrm.mod = 0x00;
+ p_analyze->modrm.modrm.rm = 0x05;
- p_analyze->v_disp.i_bytes = 4;
+ p_analyze->v_disp.i_bytes = 4;
+
+ goto goto_Drd64_Intel64_SetAnalyzePacket_OperandMemory_post;
+ }
}
- else {
+ // 2020/01/31 - Temporary fix. VVVV
+ //else {
/* Support [?SP + disp?] => SiB = 1Bytes */
if( NULL != p_base ) {
if( isRegType( p_base->w_typeid, OPTYPE_BASE_REG_GENERIC )) {
p_analyze->rex.rex.b = (w_temp & 0x0008) >> 3;
}
}
- }
+ //}
+goto_Drd64_Intel64_SetAnalyzePacket_OperandMemory_post:
/* Debug Print */
Drd64_Intel64_Debug_Asm_PrintMemoryOperand(
p_index, p_scale, p_base, p_disp);