Namespace for Microsoft Symbol File (MSF) support.

Types

Name

Description

IMSFFile

Abstract interface for reading and writing an MSF file.

MSFBuilder

Builds the directory and metadata layout of an MSF file.

MSFError

Base class for errors originating when parsing raw PDB files

MSFLayout

Describes the overall layout of an MSF file.

MSFStreamLayout

Describes the layout of a stream in an MSF layout.

MappedBlockStream

A BinaryStream view of data stored as possibly discontiguous MSF blocks.

SuperBlock

The superblock overlaid at the beginning of an MSF file (offset 0).

WritableMappedBlockStream

A writable BinaryStream view of a possibly discontiguous MSF stream.

Enums

Name

Description

msf_error_code

Error codes for failures while reading or writing MSF files.

Functions

Name

Description

MSFErrCategory

Return the error category for msf_error_code values.

blockToOffset

Converts a block number to a byte offset within the MSF file.

bytesToBlocks

Converts a byte count to the number of blocks needed to hold that many bytes.

getFirstUnreservedBlock

Returns the index of the first block that is not reserved.

getFpmIntervalLength

Returns the spacing between consecutive FPM blocks for the given layout.

getFpmStreamLayout

Determine the layout of the FPM stream, given the MSF layout.

getMaxFileSizeFromBlockSize

Returns the maximum possible file size for the given block size.

getMinimumBlockCount

Returns the minimum number of blocks in a valid MSF file.

getNumFpmIntervals

getNumFpmIntervals overloads

isValidBlockSize

Returns whether Size is a valid MSF block size.

make_error_code

Convert a msf_error_code to a std::error_code.

validateSuperBlock

Validates that a superblock describes a well‐formed MSF file.

Created with MrDocs