Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 772 Bytes

File metadata and controls

43 lines (28 loc) · 772 Bytes

BytecodeApi.PEParser

Library for PE file parsing.

Examples

BytecodeApi.PEParser

PEImage

PEImage represents a parsed executable containing information about the file:

PEImage exe = PEImage.FromFile(@"C:\Windows\explorer.exe");

// Optional header
uint entryPoint = exe.OptionalHeader.AddressOfEntryPoint;

// Sections
foreach (ImageSection section in exe.Sections)
{
	if (section.Header.Name == ".text")
	{
		byte[] code = section.Data;
	}
}

Changelog

5.0.0 (15.02.2026)

  • change: Targeting .NET 10.0

4.0.0 (15.09.2025)

  • change: Targeting .NET 9.0

3.0.0 (08.09.2023)

  • Initial release