Mixaill / FakePDB

Tool for PDB generation from IDA Pro database
Apache License 2.0
550 stars 61 forks source link

Feature Request: export local types from IDA into PDB #30

Open korri123 opened 2 years ago

korri123 commented 2 years ago

Hey, thank you for this amazing plugin.

Use case: In Visual Studio, if a PDB is loaded for a DLL or EXE, you can in the debugger watch window cast any piece of memory to a struct/class from that DLL. For example, say we have a DLL loaded nvse_1_4.dll you can do: (nvse_1_4!Script**) (epb - 0x8) and see all the members of that struct in the debugger window.

It would be amazing if it could do that for types exported from IDA into a FakePDB as well since our IDBs are loaded with types not included in our compiled C++ projects. I.e. if we generate a FakePDB for FalloutNV.exe, you could do (FalloutNV!TileManager**) ecx in the watch window if we had that defined in IDA in local types. image

korri123 commented 2 years ago

Nevermind, just noticed this has already been requested https://github.com/Mixaill/FakePDB/issues/23

And a commit about it here: https://github.com/Mixaill/FakePDB/commit/ff0e132af0cd1c7b7c3eb0b12bf75c9c87beb1dd

Thanks!

korri123 commented 2 years ago

Edit: compiled latest release and it doesn't seem the types get exported to the PDB, just the JSON file unfortunately. So feature request remains open.