12 switch ((
buf[0] +
c) % 94) {
13 case 4:
return "jmp [d]";
14 case 5:
return "out a";
15 case 23:
return "in a";
16 case 39:
return "rotr [d], mov a, [d]";
17 case 40:
return "mov d, [d]";
18 case 62:
return "crz [d], a, mov a, [d]";
19 case 81:
return "end";
20 default:
return "nop";
28 return op->size =
opstr ? 1 : 0;
33 .desc =
"Malbolge Ternary VM",
42 #ifndef RZ_PLUGIN_INCORE
static const char * mal_dis(ut64 c, const ut8 *buf, ut64 len)
RZ_API RzLibStruct rizin_plugin
static int __disassemble(RzAsm *a, RzAsmOp *op, const ut8 *buf, int len)
RzAsmPlugin rz_asm_plugin_malbolge
static int opstr(RzAsm *a, ut8 *data, const Opcode *op)
#define RZ_SYS_ENDIAN_NONE
ut64(WINAPI *w32_GetEnabledXStateFeatures)()