I have a segfault in a mess of DLLs that I unfortunately cannot acquire .pdb files for. While I have a stack trace, this is unhelpful as I can't pin down exactly where things are going wrong. I am wondering if there's any way to use the DLL to associate sections of the code with specific exported functions, preferably automatically.
For instance, it seems to me that I could GetProcAddress on all the exported functions listed in dumpbin /exports problematicDll.dll, and then manually compare the resulting function pointers to the location the code actually jumps to. This would identify (exported) functions in the stack trace.
Does any tool like this already exist? Am I missing an important step of the DLL load process that would make this impossible? Thanks!