Occasionally you may run into the following error message:
To ensure that the decompilation speed remains acceptable and does not block IDA, especially when using batch decompilation, by default the decompiler refuses to decompile the functions over 64 kilobytes (0x10000 bytes). But here we have function which is 3x as large:
In such case you can manually increase the size to force the decompiler try decompile the function anyway. The limit can be increased temporarily or permanently.
To change the limit for current database only, open the decompiler options (Edit > Plugins > Hex-Rays Decompiler, Options):
Then change the setting in Analysis Options 3:
To change the default for all new databases, edit the parameter
Note that settings in the config file are only applied to new databases; for existing databases use the first approach.
Hint: instead of editing
hexrays.cfg in IDA’s installation, create a new file with only the changed settings in the user directory. This way the settings will persist if you upgrade your IDA version.