MolecularMatters / raw_pdb

A C++11 library for reading Microsoft Program DataBase PDB files
BSD 2-Clause "Simplified" License
675 stars 91 forks source link

wrong offset #80

Open zyc3136 opened 4 months ago

zyc3136 commented 4 months ago

9CE4DF3C7A91434E84C9B092119D0E022 ci.dll g_KernelHashBucketList offset: right: 7e0a8 raw_pdb:7e0b0

MolecularMatters commented 4 months ago

Can you provide the DLL and PDB so we can look into this?

zyc3136 commented 4 months ago

ci.zip

MolecularMatters commented 4 months ago

The .zip file contains only the DLL, so we cannot do much with it. We need the PDB file.

zyc3136 commented 4 months ago

0D6F7853286644EF9FF179A524D0B2AE2.zip download from ms...

zyc3136 commented 4 months ago

screenshot-20240725-134010 screenshot-20240725-133939

MolecularMatters commented 4 months ago

Thanks, I looked into this and it appears that this particular PDB uses OMAP data/streams, which need to be considered for translating a [section:offset] pair into actual RVAs.

This is not implemented yet in raw_pdb, but will be added.