Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 613 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 613 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

3.0.0 (08.09.2023)

  • Initial release