Windows 7 Forums


Windows 7: Using Windbg for dmp from encrypted app

08 Dec 2009   #1

Windows 7 64bit
 
 
Using Windbg for dmp from encrypted app

Here are the steps that I currently follow.

1. Compile to Create appname.exe and appname.pdb
2. Encrypt appname.exe to get appname-enc.exe
3. Ship appname-enc.exe to customers
4. Customer runs appname-enc.exe to get crashdump.dmp and sends it to me. ( Crashdump using minidumpwritedump)
5. I use crashdump.dmp, appname.pdb,appname-enc.exe in windbg to view the call stack.



This is not working. It says it cannot find debug symbols for appname-enc.exe
what should i do ? I cannot use appname.exe it produces the same error. Also, I have to encrypt my app, I cannot send it without security wrapper.
Please let me know if anybody have encountered the same problem. Any workaround would be greatly appreciated.

NOTE: I am sure, its not with the architecture. I am using the same architecture as the client to debug and still no result.

Thanks,
Krishna
My System SpecsSystem Spec

08 Dec 2009   #2

7600.20510 x86
 
 

MS servers aren't going to have debug symbols for something encrypted.

Architecture is irrelevant.

Do you have a correct symbol path set in WinDbg?
My System SpecsSystem Spec
08 Dec 2009   #3

Windows 7 64bit
 
 

Yes, I guess I have the correct Path set. I have

srv*C:\websymbols*Symbol information

and the path to where my pdb, exe and dmp is stored ( All are in the same folder )
My System SpecsSystem Spec
.


08 Dec 2009   #4

7600.20510 x86
 
 

Yeah, then it's the encryption throwing things off.
My System SpecsSystem Spec
08 Dec 2009   #5

Windows 7 64bit
 
 

How can I workaround this ? I thought most of the apps are encrypted. There must be a workaround.
My System SpecsSystem Spec
08 Dec 2009   #6

7600.20510 x86
 
 

I sincerely doubt it.
My System SpecsSystem Spec
Reply

 Using Windbg for dmp from encrypted app problems?



Thread Tools



Similar help and support threads for: Using Windbg for dmp from encrypted app
Thread Forum
WinDbg Software
Windbg Software
windbg Chillout Room
Cannot access encrypted files even though I never encrypted them Music, Pictures & Video
WinDBG BSOD Help and Support


All times are GMT -5. The time now is 03:34 AM.



Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd