Using Windbg for dmp from encrypted app


  1. Posts : 5
    Windows 7 64bit
       #1

    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 Computer


  2. Posts : 5,747
    7600.20510 x86
       #2

    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 Computer


  3. Posts : 5
    Windows 7 64bit
    Thread Starter
       #3

    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 Computer


  4. Posts : 5,747
    7600.20510 x86
       #4

    Yeah, then it's the encryption throwing things off.
      My Computer


  5. Posts : 5
    Windows 7 64bit
    Thread Starter
       #5

    How can I workaround this ? I thought most of the apps are encrypted. There must be a workaround.
      My Computer


  6. Posts : 5,747
    7600.20510 x86
       #6

    I sincerely doubt it.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
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
All times are GMT -5. The time now is 23:20.
Find Us