WinDbg kernel debugging symbol pdb download issues #5192
-
To separate this out from my previous thread on Windows kernel debugging: Once I get connected, I can't seem to download PDBs. I will first note that I've got the symbol lookup configured and working fine for static analysis
And C:\SymbolCache is what I'm using in WinDbg too for a cache, so all the relevant symbols should already be cached locally anyway. When I get into the successful WinDbg connection, I do .sympath to set the download and cache locations for Ghidra (I'm not sure if there's a more correct location to set this.)
But basically as you can see it's complaining that it can't find symbols.
I tried using
But it looks like I'm running into this earlier issue, (which was believed fixed in 2020?). I tried a workaround from there:
But when I do So is there a more correct way that I should be specifying the symbol download server / cache location? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
I have one idea, but may be way off track - in your comments above are you issuing ".sympath", ".load", and ".reload" from inside Windbg or from the Interpreter in Ghidra? Am hoping the latter. |
Beta Was this translation helpful? Give feedback.
-
Still trying to figure this out, but definitely not making sense to me. If Windbg lists the modules with symbols and you've point .sympath to that cache in Ghidra, the dbgeng should be reading the same symbols. (Edit->Symbol Server Config doesn't buy you anything, unfortunately, as that's only used by the Static engine.) This is going to sound dumb, but try ".sympath c:\SymbolCache", ".reload /f", and then "lm". |
Beta Was this translation helpful? Give feedback.
-
Hmmm, I see "cacheC:\SymbolCache" but (and maybe you have tried it - my eyes are old) I mean literally "C:\SymbolCache" w/o the "cache". |
Beta Was this translation helpful? Give feedback.
Hmmm, I see "cacheC:\SymbolCache" but (and maybe you have tried it - my eyes are old) I mean literally "C:\SymbolCache" w/o the "cache".