Gabriel Torok - Protecting .NET applications through obfuscation
- Posted: Nov 17, 2004 at 8:43 PM
- 17,423 Views
- 7 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
What is needed to provide a level of error information when the function names and strings are unreadable?
At least, please include a string encryption and an ILDASM breaker in Dotfuscator community version of Visual Studio 2005!
Please!!!!!
When you debug, it uses the original IL, not the obfuscated one, so internal debugging will remain the same.
I can't wait to see all the new features coming out!
For more details on the file mapping feature:
http://www.xenocode.com/en/Man/advanced_topics/debugging_xenocode_processed_assemblies.htm
Lionel Lindemann
XenoCode Europe
http://www.xenocode.com
OK. I re-read my post and I was a bit unclear. I meant debugging an issue from a user. The situationwould be f an end-user is running the app and it blows up - they would be running the obfuscated one. How would you translate an error at end-user runtime into something you can work with back in the development area?
1) Use the stack trace decoding tool:
When you Dotfuscate your code, one of the outputs is a map file-- it is an XML file that contains a mapping between the new names and the original names. You should keep this file in a safe place (like version control) after you ship your application.
Dotfuscator Pro includes a stack trace decoding tool. If you get an obfuscated stack trace from a user in the field, you can paste it into the tool, point it to your map file, and press the decode button. The tool reconstructs the original stack trace.
2) For interactive debugging, round trip the PDB files.
Dotfuscator Pro allows you to create a PDB file associated with the output assembly. It will take source file, line number, and local variable information from the input assembly's PDB and include it in the output PDB. You can use this to interactively debug Dotfuscated applications. You can even step through the original source code. The drawback is that the debugger will still show the obfuscated symbol names when you are trying to examine variables, etc.
Regards,
Bill Leach
PreEmptive Solutions, Inc.
Remove this comment
Remove this thread
close