esil2reil.c
// Generic function to handle all mem_*eq_n functions. Example, mem_oreq_n
Generic function to handle all mem_*eq_n functions.
Generic function to handle all mem_ * eq_n functions .
static int reil_mem_bineq_n(RAnalEsil *esil, RAnalReilOpcode opcode, ut8 size) {
	int ret = 1;
	RAnalReilArg *op2, *op1;
	op2 = reil_pop_arg (esil);
	if (!op2) {
		return false;
	}
	op1 = reil_pop_arg (esil);
	if (!op1) {
		R_FREE (op2);
		return false;
	}
	reil_push_arg(esil, op2);
	ret &= reil_peekn(esil, size);
	reil_push_arg(esil, op1);
	ret &= reil_binop(esil, opcode);
	reil_push_arg(esil, op2);
	ret &= reil_poken(esil, size);
	free (op2);
	free (op1);
	return ret;
}
static int reil_mem_bineq_n ( RAnalEsil * esil , RAnalReilOpcode opcode , ut8 size ) { int ret = 1 ; RAnalReilArg * op2 , * op1 ; op2 = reil_pop_arg ( esil ) ; if ( ! op2 ) { return false ; } op1 = reil_pop_arg ( esil ) ; if ( ! op1 ) { R_FREE ( op2 ) ; return false ; } reil_push_arg ( esil , op2 ) ; ret &= reil_peekn ( esil , size ) ; reil_push_arg ( esil , op1 ) ; ret &= reil_binop ( esil , opcode ) ; reil_push_arg ( esil , op2 ) ; ret &= reil_poken ( esil , size ) ; free ( op2 ) ; free ( op1 ) ; return ret ; }
Generic function to handle all mem_*eq_n functions.
Generic function to handle all mem_ * eq_n functions .