moyix / pdbparse

Python code to parse Microsoft PDB files
Other
316 stars 84 forks source link

Examples fail on Windows 10.0.18362.53 ntoskrnl.exe symbol #50

Open fastmutex opened 5 years ago

fastmutex commented 5 years ago

The below examples failed on the attached ntoskrnl.exe symbol.

python -V
**Python 2.7.11**

python -m pip freeze | grep pdbparse
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
**pdbparse==1.1**

python pdb_print_ctypes.py K:\temp\ntkrnlmp.pdb
// Architecture pointer width 8 bytes
Traceback (most recent call last):
  File "pdb_print_ctypes.py", line 1141, in <module>
    structs = topological_sort(dep_graph)
  File "pdb_print_ctypes.py", line 66, in topological_sort
    count[successor] += 1
KeyError: u'_HAL_PMC_COUNTERS'

python pdb_get_syscall_table.py K:\temp\ntoskrnl.exe K:\temp\ntkrnlmp.pdb
Traceback (most recent call last):
  File "pdb_get_syscall_table.py", line 46, in <module>
    sects = pdb.STREAM_SECT_HDR_ORIG.sections
AttributeError: PDB7 instance has no attribute 'STREAM_SECT_HDR_ORIG'

Link to problematic symbol: ntkrnlmp.zip