Expand description
Helpers for resolving IgvmPlatformType <-> compatibility-mask
mappings declared in an IGVM file’s platform headers, and for
deriving human-readable / file-name-safe short names for each
supported platform.
Functions§
- format_
platform_ mask - Format a compatibility mask as a human-readable platform list using the platform headers from the IGVM file.
- isolation_
label - Always-safe label for a platform, used to generate sibling file
names and human-readable platform tags. Falls back to
platform_<Debug>for variants without a canonical short name, ensuring two distinct platforms never collide on the same label. - isolation_
short_ name - Short lowercase name for a measurable platform, suitable for file
names and CLI suffixes (e.g.
"snp","tdx","vbs"). - lookup_
compatibility_ mask - Look up the compatibility mask for a given platform type by reading the platform headers from the IGVM file.
- platform_
name_ for_ mask - Map a compatibility mask to a lowercase platform name suitable for use in
file names. Returns the platform’s canonical short name (
"vbs","snp","tdx") when the mask matches a known platform header; otherwiseplatform_<Debug>for a matching header whose platform type has no canonical short name, ormask_0x<hex>if the mask matches no platform header at all.