pdb
pdb copied to clipboard
CodeView parsing in public crate interface
Hi, I work on a toy Windows linker written in Rust. I would like to use this crate for creation of PDBs (I am aware that writing PDBs is not currently supported per #16). Before writing PDB I have to parse & dedup .debug$S and .debug$T sections in object files, which contain CodeView-related information.
Would it make sense from your PoV to roll out CodeView parsing as a part of pdb
's public API (perhaps gated behind a feature flag)? I understand that's not the main use case of pdb
, however IMHO it would make sense for pdb
to host this kind of functionality.
I'd be happy to work on API changes and eventually #16 down the road.
Agree; I recently wanted to just parse these sections (no writing), and couldn't easily find something..