Crate ms_pdb

Source
Expand description

Reads and writes Program Database (PDB) files.

§References

Re-exports§

pub use container::Container;
pub use container::StreamReader;
pub use ms_pdb_msf as msf;
pub use ms_pdb_msfz as msfz;
pub use ms_codeview as codeview;

Modules§

container
Provides an abstraction over MSF and MSFZ files.
dbi
Provides access to the DBI Stream (Debug Information).
globals
Global Symbols
guid
Standard Windows type
hash
MSVC hash algorithms
lines
Decodes line information found in Module Streams.
modi
Reads data from Module Info (modi) streams.
names
Parses the Names Stream (/names).
pdbi
PDB Info Stream (aka the PDB Stream)
syms
Decodes symbols records. Reads the “Global Symbols” stream and per-module symbol streams.
taster
Determines whether a given file header is a PDB/MSF file, PDBZ/MSFZ file, or a Portable PDB file.
tpi
Type Information Stream (TPI)
types
Code for decoding type record streams (the TPI and IPI streams).
utils
Misc utilities
writer
Utilties for copying data between streams.

Structs§

BStr
A wrapper for &[u8] that provides convenient string oriented trait impls.
BindingKey
This is the key used to associate a given PE executable (DLL or EXE) with a PDB. All values come from the PDBI stream.
Pdb
Allows reading the contents of a PDB file.
RandomAccessFile
A file with cross-platform positioned I/O.
Stream
Identifies a stream in a PDB/MSF file.
StreamIndexIsNilError
Error type for Stream::try_from implementations.
StreamIndexU16
This structure can be embedded directly in structure definitions.
Uuid
A Universally Unique Identifier (UUID).

Enums§

StreamData
Contains the contents of an entire stream.

Constants§

NIL_STREAM_INDEX
A reserved stream index meaning “no stream at all”, in u16.

Traits§

ReadAt
The ReadAt trait allows for reading bytes from a source at a given offset.
WriteAt
The WriteAt trait allows for writing bytes to a source at a given offset.