int addr_width = v3_get_addr_width(info);;
// struct v3_segment * seg_reg;
- PrintDebug("Xen mode = %s\n", xed_machine_mode_enum_t2str(xed_state_get_machine_mode(info->decoder_state)));
+ PrintDebug("Xed mode = %s\n", xed_machine_mode_enum_t2str(xed_state_get_machine_mode(info->decoder_state)));
PrintDebug("Address width: %s\n",
xed_address_width_enum_t2str(xed_state_get_address_width(info->decoder_state)));
PrintDebug("Stack Address width: %s\n",
// This is a horrendous hack...
// XED really screwed the pooch in calculating the displacement
- if (v3_get_cpu_mode(info) == LONG) {
+ if (v3_get_vm_cpu_mode(info) == LONG) {
displacement = mem_op.displacement;
} else {
displacement = MASK(mem_op.displacement, mem_op.displacement_size);