radareorg/r2ghidra

No sleigh specification for PowerPC:BE:32:default

Closed this issue · 7 comments

OS: Android-Termux

i installed r2ghidra using those commands
r2pm update
r2pm -i r2ghidra
it then downloaded, compiled and installed everything, but when a try and actually use it it says this Ghidra Decompiler Error: No sleigh specification for PowerPC:BE:32:default
what can i do to fix this
thxs

Are you trying to decompile a ppc binary?

i would recommend you to install the r2ghidra and r2ghidra-sleigh packages using -ci instead of just -i to ensure a clean build

Are you trying to decompile a ppc binary?

yeah

i would recommend you to install the r2ghidra and r2ghidra-sleigh packages using -ci instead of just -i to ensure a clean build

aight gonna try that

still the same error :(

Powerpc support wasnt added in the default build. So i assume you are trying to decompile a powerpc binary in termux. Right?

i uploaded a separate zip in the release page with all the archs precompiled. You can download it and unzip it in your r2 plugin dir, in the r2ghidra_sleigh directory.

i may probably do a new release to ship them by default

so i did that, downloaded the zip, extracted it into the plugins folder and now im getting another error when trying to decompile (powerpc binary) Ghidra Decompiler Error: Symbol arg_1h extends beyond the end of the address space

aarch64 works, just powerpc that doesn't want to cooperate
:/

Can you share the binary or point me to a binary from the r2 testsuite to verify?

alright I'll close this issue as that is fixed and we can talk more on discord