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
| Member | Description | Available through |
|---|---|---|
| Equatable | Supports equality comparison. |
Fields
| Member | Description | Available through |
|---|---|---|
| age | The PDB age, which distinguishes revisions sharing a GUID. | |
| guid | The 16 GUID bytes in CodeView storage order. |
Operators
| Member | Description | Available 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
| Member | Description | Available through |
|---|---|---|
| fromParts | Constructs an identity from CodeView-order GUID bytes and its PDB age. |