65 const xed_operand_t* op0 = xed_inst_operand(xi,0);
66 const xed_operand_t* op1 = xed_inst_operand(xi,1);
67 xed_operand_enum_t op0_name = xed_operand_name(op0);
72 if (op0_name == XED_OPERAND_REG0) {
73 xed_reg_enum_t reg0 = xed_decoded_inst_get_reg(xptr, op0_name);
74 if (x86_isReg_SP(reg0)) {
79 if (xed_operand_name(op1) == XED_OPERAND_IMM0) {
80 int sign = (
iclass_eq(xptr, XED_ICLASS_ADD)) ? -1 : 1;
81 long immedv = sign * xed_decoded_inst_get_signed_immediate(xptr);
#define HW_NEW_STATE(state, set)
#define UWI_RECIPE(btuwi)
unwind_interval * process_addsub(xed_decoded_inst_t *xptr, const xed_inst_t *xi, interval_arg_t *iarg)
#define iclass_eq(xptr, class)
bitree_uwi_t * canonical_interval
static char * nextInsn(uint32_t *insn)
#define HW_SP_DECREMENTED
highwatermark_t highwatermark
unwind_interval * new_ui(char *startaddr, sp_ty_t sp_ty, ra_ty_t ra_ty, int sp_arg, int ra_arg)
#define HW_TEST_STATE(state, is_set, is_clear)
bitree_uwi_t unwind_interval