コード例 #1
0
ファイル: asm_xap.c プロジェクト: AmesianX/radare2
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);
}
コード例 #2
0
ファイル: asm_xap.c プロジェクト: aronsky/radare2
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);
}