Skip to main content

Module pe

Module pe 

Source
Expand description

Lays out an x86-64 PE/COFF image, such as a Linux bzImage with an EFI stub, at its section addresses.

This supports only images that can run at any base address without relocation. The Linux EFI stub is position independent and has an empty relocation directory.

Structs§

PeImage
A PE/COFF image laid out at its section addresses.

Enums§

Error
An error from laying out a PE/COFF image.

Functions§

is_pe
Returns true if file is a PE32+ image.
layout
Lays out file at its section addresses.