Namespace PeNet.Header.Pe
Classes
Copyright
The copyright ASCII (not 0-terminated) string of the PE file if any is given.
ExportFunction
Represents an exported function.
ImageBaseRelocation
The ImageBaseRelocation structure holds information needed to relocate the image to another virtual address.
ImageBaseRelocation.TypeOffset
Represents the type and offset in an ImageBaseRelocation structure.
ImageBoundImportDescriptor
Bound import descriptor.
ImageCor20Header
COM+ 2.0 (CLI) Header https://www.codeproject.com/Articles/12585/The-NET-File-Format
ImageDataDirectory
The ImageDataDirectory struct represents the data directory,
ImageDebugDirectory
The ImageDebugDirectory hold debug information about the PE file.
ImageDelayImportDescriptor
The ImageDelayImportDirectory describes delayed imports.
ImageDosHeader
The ImageDosHeader with which every PE file starts.
ImageExportDirectory
The export directory contains all exported function, symbols etc. which can be used by other module.
ImageFileHeader
The File header contains information about the structure and properties of the PE file.
ImageImportByName
The ImageImportByName structure is used to describes imports of functions or symbols by their name. The AddressOfData in the ImageThunkData from the ImageImportDescriptor points to it.
ImageImportDescriptor
The ImageImportDescriptors are contained in the Import Directory and holds all the information about function and symbol imports.
ImageLoadConfigDirectory
The ImageLoadConfigDirectory hold information important to load the PE file correctly.
ImageNtHeaders
The NT header is the main header for modern Windows applications. It contains the file header and the optional header.
ImageOptionalHeader
Represents the optional header in the NT header.
ImageResourceDataEntry
The ImageResourceDataEntry points to the data of the resources in the PE file like version info, strings etc.
ImageResourceDirectory
The resource directory contains icons, mouse pointer, string language files etc. which are used by the application.
ImageResourceDirectoryEntry
The resource directory entry represents one entry (e.g. icon) in a resource directory.
ImageResourceDirStringU
Represents a Unicode string used for resource names in the resource section.
ImageSectionHeader
Represents the section header for one section.
ImageThunkData
The thunk data is used by for the imports in the import section.
ImageTlsCallback
Thread Local Storage callback.
ImageTlsDirectory
Thread Local Storage Directory.
ImportFunction
Represents an imported function.
RuntimeFunction
The runtime function struct is represents a function in the exception header for x64 applications.
UnwindCode
The UnwindCode is a struct in the UnwindInfo used to describe exception handling in x64 applications and to walk the stack.
UnwindInfo
The UnwindInfo is used for x64 exception handling and to unwind the stack. It is pointed to by the RuntimeFunction struct.
WinCertificate
The WinCertificate the information in the security directory of the PE file. It contains information about any certificates used to sign the binary.
Structs
IMAGE_LOAD_CONFIG_CODE_INTEGRITY
https://github.com/dahall/Vanara/blob/3da05fe4d87bc5de96527fad5c9b7e6058690deb/PInvoke/DbgHelp/WinNT.cs#L1013 Undocumented
IMAGE_LOAD_CONFIG_DIRECTORY32
IMAGE_LOAD_CONFIG_DIRECTORY64
Enums
ComFlagsType
ImageCor20Header Flags
DataDirectoryType
The data directory indices used to resolve which directory is which.
DebugDirectoryType
An image has potentially multiple entries of ImageDebugDirectory. This is the "Type" of an entry. Main source is winnt.h See https://docs.microsoft.com/en-us/windows/win32/debug/pe-format#debug-type and https://docs.microsoft.com/en-us/dotnet/api/system.reflection.portableexecutable.debugdirectoryentrytype?view=net-5.0
DllCharacteristicsType
Constants for the Optional header DllCharacteristics property.
ExtendedDllCharacteristicsType
Possible bit-field values when ImageDebugDirectory.Type is DebugDirectoryType.ExtendedDllCharacteristics
FileCharacteristicsType
File characteristics from the file header.
MachineType
ImageFileHeader machine constants which define for which CPU type the PE file is.
MagicType
Constants for the Optional header magic property.
ResourceGroupIdType
Mapping from Resources Group ID to a meaningful string. Used for ID resources (opposite to named resource).
ScnCharacteristicsType
The SectionFlags enumeration lists all possible flags which can be set in the section characteristics.
SubsystemType
Subsystem of the image.
UnwindOpType
UnwindOp Codes for the unwind information used to walk the stack in x64 applications.
WinCertificateType
WinCertificate wCertificateType constants.