-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.dbg for a 64 bit executable #40
Comments
BTW, thank you very much for this software! |
The .dbg file is 64 bit. The values at offsets 4 and 5 are 0x64 and 0x86 respectively, |
I don't know much abiout DBG files, support for these has been added by @AlexWhiter. Maybe he can comment on 64-bit versions? Maybe only this line needs to be adapted: https://github.com/rainers/cv2pdb/blob/master/src/cv2pdb.cpp#L71 |
It seems hdr64 is never set in https://github.com/rainers/cv2pdb/blob/master/src/PEImage.cpp#L309 so that isX64() returns false. Would any of you have time to look into this? |
@tim-lebedkov |
The machine type should now be set in the PDB as found in the DBG. |
I converted a .dbg file for a 64 bit executable to .pdb. The .pdb is 32 bit (DBI-Stream Machine = 332).
I guess this is why AMD uProf does not load the .pdb file. Does cv2pdb always create 32 bit .pdb from a .dbg file? Can a .dbg file be 64 bit? Could you please add an option to force the creation of a 64 bit .pdb?
The text was updated successfully, but these errors were encountered: