Open dezmen3 opened 2 years ago
This works for me, thanks! Not sure what happened between 0.2 and 0.3 but using the older version I was able to get a PDB where the newer one would only produce a JSON. Having the same problem on the latest commit too.
I present to you the actual solution:
In IDA scripting window:
import ida_nalt
ida_nalt.set_root_filename('E:\\new\\path\\to\\your\\analysedfile.dll')
You may also check current path with:
ida_nalt.get_input_file_path()
This is the difference between 0.2 and 0.3, currently FakePDB uses ida_nalt.get_input_file_path()
. Previously it assumed the old path to be <ida_db_path>/<ida_db_name>.exe
. That assumption was of course very wrong, since you could have a different extension than exe, or even save the database elsewhere in the first place!
But the current behavior causes things to break if you move the executable somewhere else, while IDA still thinks it's at the old location. After changing it, it works again.
Played around with different versions of fakepdb and could finally make an .pdb file. I'm using IDA PRO 7.7
Steps:
worked like a charm, got pdb,VS recognized functions