I’m always questioning myself if I’m doing this right. Say, I have a Windows binary (file.dll) and the matching symbols file for it (file.pdb) that I want to statically analyze in Ghidra.
My steps for loading it in Ghidra are as follows:
I place both file.DLL and file.pdb in the same folder.
I then drag file.DLL into - hmm, idk what it’s called, a small Ghidra window with the list of binaries in my project.
I then let Ghidra recognize it as a binary file and do some of its juju.
then double click file.dll in that list to open it in the main Ghidra window
it then asks me if I want to analyze it. I click yes and go with default options.
then after some waiting when the analysis is done
in Ghidra’s main window, I go to File -> Load PDB file and pick the PDB.
then again in the main Ghidra window I go to Analysis -> Auto Analyze “file.dll”
and wait again for the analysis to finish.
Is that how you open a binary with symbols?