-
Notifications
You must be signed in to change notification settings - Fork 8
Find a reliable way to automate Ghidra exports/FhCall generation #90
Description
We expose game function calls using the FhCall class. The intent was to export the current state of the Ghidra project and generate the appropriate delegates, because it is simply too error-prone and time-consuming to do otherwise. Users should ideally not have to bring their own delegates when writing Fahrenheit mods.
However, FhCall is rarely updated because it is surprisingly difficult to automate exports from Ghidra.
A first-party tool to generate C# delegates from a modified Ghidra 'Functions' export, STEP, exists. It would be better if we could simply use the same ClangSharp tooling we use in generation, but Ghidra's C program export seems to emit largely indigestible output.
This should be improved because FhCall is an utterly essential convenience of Fahrenheit, and any improvement to it will have a large effect on code cleanliness and the ease of accomplishing various framework tasks.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status