Am 17.04.2012 03:30, schrieb Roger Cruz:
Guys,
Just a quick status update on the symbol lookup and an explanation of what this question is all about. Basically, I have loaded the dbghelp file successfully and loaded all of the symbols for the module (aka, library, dll, etc) being linked. I then tried to invoke this function SymEnumSymbolsForAddrto enumerate each function's arguments and lo and behold, the damn function is not implemented in Wine.. but where there is a will, there is a way. I recalled that Wine has its own debugger and they implement the backtrace capability so I'm looking to see how they enumerate the arguments. I will let you know more soon.
Roger
*From:* Roger Cruz roger_r_cruz@yahoo.com *To:* "wine-devel@winehq.org" wine-devel@winehq.org *Sent:* Monday, April 16, 2012 9:13 PM *Subject:* SymEnumSymbolsForAddr in dbghelp.dll
I wrote a simple piece of code that uses dbghelp.dll's SymEnumSymbolsForAddr() but when I went to search for its code in Wine, it looks to be missing. The dbghelp.spec has that function listed as "stub". What does stub mean in this context? Does it mean the function is not implemented? Are there any plans to?
Thanks Roger R. Cruz
Have a look at SymEnumSymbols (and SymEnumSymbolsW), it seems everything needed for SymEnumSymbolsForAddr is already available or needs only minor changes.
PS: The fact that you don't know Wine basics like spec files is putting you in a bad position to attack wine internals like winebuild/ntdll, i suggest to read the docs (http://www.winehq.org/documentation) and the regarding wiki Developer pages (http://wiki.winehq.org/Developers).