ThunderCls/xAnalyzer

A crash on a too long instruction

m417z opened this issue · 1 comments

m417z commented

Hi,

The analyzer crashes here for me with a specific binary. The issue is that in my case the szDisasmText content is 273 characters long, while GuiInstruction can't hold that much.

Perhaps GuiInstruction's size needs to be changed from MAX_MNEMONIC_SIZE * 4 to GUI_MAX_DISASSEMBLY_SIZE. Should fix the issue, but I didn't dive into the details.

I'll look into it
Thanks for reporting