// The second byte is a ModR/M /4 byte, strip off the registers
uint8_t second_byte_sans_reg = *(m_cur_insn + 1) & ~7;
- // Don't handle 0x24 disp32, because the target address is
- // knowable statically - pc_rel_branch_or_jump_p() will
- // return the target address.
-
// [reg]
if (second_byte_sans_reg == 0x20)
return true;
if (second_byte_sans_reg == 0xe0)
return true;
- // disp32
- // jumps to an address stored in memory, the value can't be cached
- // in an unwind plan.
- if (second_byte_sans_reg == 0x24)
- return true;
-
- // use SIB byte
- // ff 24 fe jmpq *(%rsi,%rdi,8)
- if (second_byte_sans_reg == 0x24)
- return true;
-
return false;
}