Documentation
¶
Index ¶
Constants ¶
View Source
const EFISystemPartitionGUID = "C12A7328-F81F-11D2-BA4B-00A0C93EC93B"
EFISystemPartitionGUID is the GUID for EFI System Partition.
Variables ¶
This section is empty.
Functions ¶
func CreateMinimalPEFile ¶
CreateMinimalPEFile creates a PE file with given sections. This is a helper for testing - creates valid PE structure.
func CreateTestISOImage ¶
CreateTestISOImage creates an ISO image with the provided files. Files map is path -> content.
func CreateTestRAWImage ¶
CreateTestRAWImage creates a RAW disk image with GPT partition table and EFI partition. The EFI partition contains the provided files map (path -> content).
func CreateTestUKIFile ¶
CreateTestUKIFile creates a minimal PE file with .linux, .initrd, .cmdline sections for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.