Jump to content
Registration disabled at the moment Read more... ×
aehimself

Can DebugEngine work without a .map file attached?

Recommended Posts

I read here on DelphiPraxis that the correct way to get a stack trace for anything is just to extract the stack addresses and translate those back to function names on the developers machine. I could achieve this with the suggestion here and with a custom .map file parser I can get the function names back but unfortunately there's too much trash. I also don't really understand this area, my parser was built by trial-and-error... better to let the experts handle this kind of thing.

I know I could alter how DebugEngine actually displays the stack trace but it still needs a .map file (right next to the .exe or integrated as .smap) which is not just making it easier to attack the executable but easily adds ~40% to the size.

 

I guess the question is... does DebugEngine support this already and if no would it be complicated to implement it?

Share this post


Link to post

IDK what DebugEngine is but you could get stack trace in the form of addresses and send it from client. Then, having .map for the exact binary version, you can translate addresses to function names

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×