Struggling to understand how to call SymFromAddr #324
-
I'm having the hardest time understanding how to give I see some custom marshaling in My current workaround:
This gets me back a true result and a valid symbol with the name set properly. What am I doing wrong with the Vanara |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You're not doing anything wrong. There was a problem with the definition of SYMBOL_INFO si = SYMBOL_INFO.Default; // this sets SizeOfStruct and MaxNameLen appropriately
SymFromAddr(hProc, addr, ref disp, ref si); |
Beta Was this translation helpful? Give feedback.
You're not doing anything wrong. There was a problem with the definition of
SYMBOL_INFO
that I fixed in my latest commit. It will be on NuGet by the end of the week and available in a few minutes on AppVeyor. To simplify use, use the following: