Decompiler exception
See original GitHub issueI see the following message in the "Decompiler window: Exception while decompiling xxxxx: Decompiler results exceeded payload limit of 50 MBytes
is there an easy way to allow more payload ?
Rather than use an indexed table the coders decided to go for several hundred statements similar to the following to print various messages…
if (r4 == 0x2c) goto loc_xyz;
some of them are nested, which is why I think the code breaks the de-compiler.
if (r4 != 0x98) { if (r4 != 0x93) { if (r4 != 0x94) { if (r4 != 0x95) { if (r4 != 0x96) { if (r4 != 0x97) { if (r4 != 0x9d) { if (r4 != 0x9e) { if (r4 != 0xa4) { if (r4 != 0xa8) { if (r4 != 0xab) { if (r4 != 0xac) { if (r4 != 0xad) {
Etc… “hopper dissasembler” just about manages to break the code down, but ghidra breaks.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (1 by maintainers)
To increase the payload size: Edit->Tool Options->Decompiler->Decompiler Max-Payload (from the Code Browser).
Thanks. It solved the problem for me