pdb icon indicating copy to clipboard operation
pdb copied to clipboard

CodeView parsing in public crate interface

Open osiewicz opened this issue 2 years ago • 1 comments

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.

osiewicz avatar Dec 27 '21 21:12 osiewicz

Agree; I recently wanted to just parse these sections (no writing), and couldn't easily find something..

shuffle2 avatar Jun 01 '22 00:06 shuffle2