ghidra icon indicating copy to clipboard operation
ghidra copied to clipboard

Fix importing of function's signature from IDA

Open saruman9 opened this issue 5 years ago • 4 comments
trafficstars

cfce5fa fix problem of exporting thunked function:

ERROR (FunctionsXmlMgr) Failed to create function at 00004294: Unable to create function at 00004294

The commit may be regressive, but I used Ghidra with merged the PR for a month and there were no problems.

Sadly Ghidra don't support parsing of many calling convention (see TODO in the code). I don't change CParser, because it will be very massive for the PR.

Fixes #1492.

saruman9 avatar Jan 30 '20 12:01 saruman9

Any review?

saruman9 avatar Jun 08 '20 05:06 saruman9

Any updates?

saruman9 avatar Apr 30 '23 15:04 saruman9

Our PROGRAM.DTD needs a big update to catchup with our API and is rather constrained. If you will work with us we can probably adapt it better to our API. We have always worried about exceeding the capabilities of IDA for function related details. We could probably start a Discussion where we could propose PROGRAM.DTD changes if someone like yourself could adapt the IDA import/export plugins.

ghidra1 avatar May 23 '23 15:05 ghidra1

Sounds great! Unfortunately, I no longer have a license for IDA to help you. If I have it, then I will continue working in this direction. BTW I think that a Discussion will be useful, because many people use the plugin to transfer information to/from IDA.

saruman9 avatar May 23 '23 17:05 saruman9

Closing this due to it getting very out of date, and no one having IDA to properly test it.

ryanmkurtz avatar May 07 '24 10:05 ryanmkurtz