VerySleepy / verysleepy

Very Sleepy, a sampling CPU profiler for Windows
http://www.codersnotes.com/sleepy
GNU General Public License v2.0
1.07k stars 104 forks source link

using libdwarf instead of dr mingw ? #83

Closed vtorri closed 3 years ago

vtorri commented 3 years ago

Hello

there is a library, libdwarf, which can read dwarf 2, 3, 4, 5 symbols. I helped the developper to add the support of PE files compiled with dwarf symbols. Maybe this library can replace dr mingw

see https://github.com/davea42/libdwarf-code

CyberShadow commented 3 years ago

Dr. MinGW already uses libdwarf.

vtorri commented 3 years ago

then why using an application instead of the library if you just want stack frames ? It is also certainly simpler and faster to build than dr mingw

CyberShadow commented 3 years ago

We use the MgwHelp library, which is essentially a shim around libdwarf with the DbgHelp API. Please look at that project for more information about that project. The Very Sleepy issue tracker is also probably not the best place to ask questions about MgwHelp or Dr. MinGW,