Open DoDoENT opened 3 years ago
Hi ! I've been facing the same issue. This error is thrown by Ghidra because the .sla file does not match with new Ghidra updates. To make it work:
First you need to add the attribute "version" to the first line of the .sla file, it should looks like that:
<sleigh version="2" bigendian="false" align="1" uniqbase="0xb20">
But it's not enough, a new field has been added (and it is mandatory), so you must add it too. But I'm not sure about what to put in there, so I just did that, and it worked:
<space_other name="OTHER"/>
It should be put in the <sapces>...</spaces>
sectinon
"Great that should be working now !" Well... Welcome to hell now, please take a sit, it might take a while.. The .slaspec is not working anymore, and kind of roughly. Basically it's the 6502 .slaspec that has been used that has been updated to handle 32bits (size=4) and few other stuff. But the OP1 and OP2 sections does not work anymore. I am trying to investigate through this, but I have no real idea concerning what I am looking at neither doing there, so...
If I succeed in making it work, I'll post my solution here ;)
I know it's been a while, but for future reference I have this new fork working with Ghidra 10.0.0
I've built your extension from master branch (commit 416a6d2624bffd4b49abc93aadb963302dce549c) and installed the extension to GHidra 9.1.2.
When attempting to import a WASM file for decompilation, I get following error:
Did I do something wrong?