silverchris / m16c

13 stars 9 forks source link

Decompiling takes forever!!! #6

Open RyanHope opened 9 months ago

RyanHope commented 9 months ago

I am not sure what is different about this module, because I have use a few different external modules for new mcu support, but decompiling is painfully slow. Is this because the module is installed without precompiling first? Every other module I have used I have had to compile with sleigh before it would work.

esaulenka commented 9 months ago

Is this because the module is installed without precompiling first?

no, Ghidra automatically creates compiled .slaspec for any new processor. So, you should comile only java part (but for m16c any additional java analyzers not needed).

BTW, on my side this module works approximately the same speed as others.

RyanHope commented 9 months ago

Then perhaps something about the size of the memory space / bin size. The file I have loaded 960kb.

esaulenka commented 9 months ago

Sounds weird. Check yours MCU datasheet, typical flash memory amount on these devices is 64..256 kBytes (and it's started NOT from zero!).