SplitScript reference / PeDebugId

PeDebugId

struct

struct PeDebugId

The PDB 7.0 identity embedded in a Windows PE module's CodeView record.

Both the GUID and age identify a build. GUID bytes retain their on-disk order; the first three GUID components are little-endian, unlike their usual textual spelling. The PDB pathname is not part of this identity.

Examples

Read a Mono runtime's exact build identity

let runtime = await process.module("mono-2.0-bdwgc.dll")
let identity = runtime.peDebugId()? else return
print(identity)

Capabilities

MemberDescriptionAvailable through
EquatableSupports equality comparison.

Fields

MemberDescriptionAvailable through
ageThe PDB age, which distinguishes revisions sharing a GUID.
guidThe 16 GUID bytes in CodeView storage order.

Operators

MemberDescriptionAvailable through
==Reports whether this value and another value are equal.Available through Equatable
!=Reports whether this value and another value differ.Available through Equatable

Methods

MemberDescriptionAvailable through
fromPartsConstructs an identity from CodeView-order GUID bytes and its PDB age.