Closed nmz787 closed 3 years ago
Hey there! I get the same problem, but I would suggest a fairly straightforward solution instead:
$ cat Smi50.idc | grep MakeNameEx >> Smi50_2.idc
and then simply load Smi50_2.idc
. Can you check if that works for you?
Had the same issue. This works for me.
the IDC file (linked here: https://github.com/crypto2011/IDR/issues/63#issuecomment-737040633) was generated from the latest crypto2011 IDR (actually they provided the IDC as I couldn't get exporting it to work locally). When trying to open in Ghidra with your DhrakeInit script, I was getting "file not found" error, but with some debugging it turned out to actually be a
MalformedInputException
, here's the stack trace:Here's the relevant chunk of script code:
which was changed to this, to get the debug and past the exception for this particular file:
I tried to determine the text encoding, but not sure it helped much, as I ended up just trying
StandardCharsets.UTF_8
and thenStandardCharsets.ISO_8859_1
.