Beispiel #1
0
static int disassemble(RAsm *a, struct r_asm_op_t *op, const ut8 *buf, int len) {
	arch_xap_disasm (op->buf_asm, buf, a->pc);
	return (op->size=2);
}
Beispiel #2
0
static int disassemble(RAsm *a, struct r_asm_op_t *op, const ut8 *buf, int len) {
	char *buf_asm = r_strbuf_get (&op->buf_asm);
	arch_xap_disasm (buf_asm, buf, a->pc);
	return (op->size = 2);
}