joxeankoret / diaphora

Diaphora, the most advanced Free and Open Source program diffing tool.
http://diaphora.re
GNU Affero General Public License v3.0
3.58k stars 371 forks source link

Ida Error "max non-trivial tinfo_t count has been reached" #238

Closed leepupu closed 1 year ago

leepupu commented 1 year ago

When I try to process large i64 idb (near 5G) ida pro failed to process decompiling function and pop up error meesage: "max non-trivial tinfo_t count has been reached" and crash whole ida process

image

Is there any chance to catch these type of exception and just simply ignore the function so that diaphora can keep process?

I can't find any decompiler config abount the limit.

Thanks

joxeankoret commented 1 year ago

It's the first time I see this message. Diaphora does nothing especial when a decompiler error happens other than printing to the output window and continuing. I believe the problem is that this message is modal and you're in an interactive session. Can you try exporting with IDA in batch mode? You have notes about batch mode exporting here:

https://github.com/joxeankoret/diaphora/wiki/How-can-I-automate-the-diffing-process%3F

leepupu commented 1 year ago

I tried run with batch mode and it work perfectly. Thanks a lot.

joxeankoret commented 1 year ago

You are welcome :)