PDB parser and writer