diff --git a/libr/asm/p/asm_arm_cs.c b/libr/asm/p/asm_arm_cs.c index 226cd529b1..8ddd3e9451 100644 --- a/libr/asm/p/asm_arm_cs.c +++ b/libr/asm/p/asm_arm_cs.c @@ -24,7 +24,7 @@ static int disassemble(RAsm *a, RAsmOp *op, const ut8 *buf, int len) { } // replace this with the asm.features? - if (a->cpu && strstr (a->cpu, "no-mclass")) + if (!a->cpu || !strstr (a->cpu, "no-mclass")) mode |= CS_MODE_MCLASS; // mclass by default if (a->cpu && strstr (a->cpu, "v8")) mode |= CS_MODE_V8;