-/* radare2 - LGPL - Copyright 2013-2024 - pancake */
+/* radare2 - LGPL - Copyright 2013-2025 - pancake */
#include <r_arch.h>
#include <r_esil.h>
static char *regs(RArchSession *as) {
if (as->config->bits == 32) {
- const char *p =
+ const char p[] =
"=PC pc\n"
"=SP r1\n"
"=BP r31\n"
return strdup (p);
}
- const char *p =
+ const char p[] =
"=PC pc\n"
"=SP r1\n"
"=BP r31\n"
case R_ANAL_OP_TYPE_XOR:
break;
default:
- //eprintf ("Missing an R_ANAL_OP_TYPE (%"PFMT64u")\n", op->type);
+ // R_LOG_WARN ("Missing an R_ANAL_OP_TYPE (%"PFMT64u")", op->type);
break;
}
vle_free (instr);
}
static void create_src_dst(RAnalOp *op) {
- RVecRArchValue_emplace_back (&op->srcs);
- RVecRArchValue_emplace_back (&op->srcs);
- RVecRArchValue_emplace_back (&op->srcs);
- RVecRArchValue_emplace_back (&op->dsts);
+ R_UNUSED RArchValue *_ = NULL;
+ _ = RVecRArchValue_emplace_back (&op->srcs);
+ _ = RVecRArchValue_emplace_back (&op->srcs);
+ _ = RVecRArchValue_emplace_back (&op->srcs);
+ _ = RVecRArchValue_emplace_back (&op->dsts);
}
static void set_src_dst(RAnalValue *val, csh *handle, cs_insn *insn, int x) {