Environment
Wed 29 Mar 09:33:02 CEST 2023
radare2 5.8.5 30445 @ linux-x86-64 git.5.7.8-1255-gf5749b7732
commit: f5749b7732dbeb561a59b73f24b6d793bbba20c6 build: 2023-03-29__09:28:30
Linux x86_64
Description
The Microblaze plugin is not compatible with new arch plugin. What was done for blackfin: 77c8e95 should solve the problem.
To reproduce:
$ r2pm -i microblaze
...
anal_microblaze_gnu.c:1144:20: error: ‘R_ANAL_OP_MASK_DISASM’ undeclared (first use in this function); did you mean ‘R_ARCH_OP_MASK_DISASM’?
1144 | if (mask & R_ANAL_OP_MASK_DISASM) {
| ^~~~~~~~~~~~~~~~~~~~~
| R_ARCH_OP_MASK_DISASM
anal_microblaze_gnu.c:1144:20: note: each undeclared identifier is reported only once for each function it appears in
anal_microblaze_gnu.c: At top level:
anal_microblaze_gnu.c:1286:28: warning: initialization of ‘_Bool (*)(RAnal *)’ {aka ‘_Bool (*)(struct r_anal_t *)’} from incompatible pointer type ‘int (*)(RAnal *)’ {aka ‘int (*)(struct r_anal_t *)’} [-Wincompatible-pointer-types]
1286 | .set_reg_profile = microblaze_set_reg_profile,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
anal_microblaze_gnu.c:1286:28: note: (near initialization for ‘r_anal_plugin_microblaze_gnu.set_reg_profile’)
make[1]: *** [<builtin>: anal_microblaze_gnu.o] Error 1
make[1]: Leaving directory '/home/sylvain/.local/share/radare2/r2pm/git/microblaze/microblaze/anal'
make: *** [Makefile:5: all] Error 2
Environment
Description
The Microblaze plugin is not compatible with new arch plugin. What was done for blackfin: 77c8e95 should solve the problem.
To reproduce: