silverchris / m16c

13 stars 8 forks source link

Decompiling takes forever!!! #6

Open RyanHope opened 7 months ago

RyanHope commented 7 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 7 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 7 months ago

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

esaulenka commented 7 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!).