#Understanding the Ghidra analysis/decompilation process and how to save the output

5 messages · Page 1 of 1 (latest)

candid condor
#

I'm currently using Ghidra to decompile P5R.exe so that I can investigate and document some of the combat mechanics (traits, skills, enemy and encounter flags). I've had the auto-analysis run for over a day, and I have gotten a fair bit of the code to decompile, meaning it shows up as C-like code in the window to the right. The analysis is still running, however, which makes it very slow to try to browse the code that's already been decompiled.

I've looked in Ghidra's help file and it tells me how to start the analysis, but not how to save it. Do I just need to Choose "Save P5R.exe" from the File menu and the progress it's made with decompilation (as well as any variable renaming I do myself) will be saved and therefore visible next time I start up Ghidra? Or do I need to do something else like "Export Program"? The Ghidra help file isn't super clear about what these options actually save or what is responsible for saving the analysis results.

tranquil nymph
#

You should be able to just save it, though I'm not sure if you can resume analysis if you save and exit during it

tardy steeple
#

@candid condor what's the status of this thread? Was secrec's response enough?

candid condor
#

Yes, it can be marked as done.

tardy steeple
#

Great thanks