Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 236743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:22:10+00:00 2026-05-11T20:22:10+00:00

I have a native release dll that is built with symbols. There is a

  • 0

I have a native release dll that is built with symbols. There is a post build step that modifies the dll. The post build step does some compression and probably appends some data. The pdb file is still valid however neither WinDbg nor Visual Studio 2008 will load the symbols for the dll after the post build step. What bits in either the pdb file or the dll do we need to modify to get either WinDbg or Visual Studio to load the symbols when it loads a dump in which our release dll is referenced?

Is it filesize that matters? A checksum or hash? A timestamp?

Modify the dump? or modify the pdb? modify the dll before it is shipped?

(We know the pdb is valid because we are able to use it to manually get symbol names for addresses in dump callstacks that reference the released dll. It’s just a total pain in the *ss do it by hand for every address in a callstack in all the threads.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T20:22:10+00:00Added an answer on May 11, 2026 at 8:22 pm

    This post led me to chkmatch. On the processed dll, chkmatch shows this info:

    Executable:
    TimeDateStamp: 4a086937
    Debug info: 2 ( CodeView )
    TimeStamp: 4a086937  Characteristics: 0  MajorVer: 0  MinorVer: 0
    Size: 123  RVA: 00380460  FileOffset: 00380460
    CodeView signature: sUar
    
    Debug information file:
    Format: PDB 7.00
    Result: unmatched (reason: incompatible debug information formats)
    

    With the same pdb against the pre-processed dll, it reports this:

    Executable:
    TimeDateStamp: 4a086937
    Debug info: 2 ( CodeView )
    TimeStamp: 4a086937  Characteristics: 0  MajorVer: 0  MinorVer: 0
    Size: 123  RVA: 00380460  FileOffset: 00380460
    CodeView format: RSDS
    Signature: (my guid)  Age: 19
    PdbFile: (my path)
    
    Debug information file:
    Format: PDB 7.00
    Signature: (my matching guid)  Age: 19
    

    I opened up both versions of the dll and went to offset 00380460. In the original version, clear enough I see the name of the pdb, but in the post-processed version there is no pdb info at that offset. I searched for the pdb path and found the exact same block – just at a different offset. Then I did bin search for the bytes “38 00 60 04” in the original dll. Looking at the same offset in the processed dll, I found the same bytes. So I adjusted the RVA and the offset (located by matching the bytes). Bingo! Now chkmatch reports the exact same results for the processed dll as the original (aside from the RVA and FileOffset that I changed).

    Edit: Confirmed, now Visual Studio loads the symbols for dumps that reference the processed dll.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suddenly compiling any VS2008 native C++ DLL project fails. They have in common that
We have a native C++ Win32 .exe built using Visual Studio 2005 that works
Considering libevent vs. libev . Does the libev library have native support of IOCP
I have a native DLL which outputs via stdout / stderr. I have a
I have a native C++ DLL, and I want to import a C# DLL
I have a native/unmanaged DLL and it has a CreateObject function which returns a
This is probably a multi-part question. Background: we have a native (c++) library that
Some Windows native applications have a question mark icon on the title bar. It's
I have an Java applet that loads native code through JNI. Everything worked just
hello all i want to retrieve my all the wall post that i have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.