JochenKalmbach / StackWalker

Walking the callstack in windows applications
BSD 2-Clause "Simplified" License
831 stars 182 forks source link

Add custom function table access #51

Open wizche opened 2 years ago

wizche commented 2 years ago

I needed this to provide my own way to access function tables which are dynamically created (e.g. via RtlAddFunctionTable). I think I broke some "retrocompatibility" by adding the #pragma comment(lib, "dbghelp.lib") directive and be able to use SymFunctionTableAccess64 in the static myFunctionTableAccessFunction method. Not sure what would be a better way.

Let me know if it needs adjustments.