Skip to main content

parse_rich_header

Function parse_rich_header 

Source
pub fn parse_rich_header(bytes: &[u8]) -> Option<RichHeader>
Expand description

Parse the Rich header from raw PE bytes.

Searches only within the DOS stub area (offset 0x40 → e_lfanew). Returns None if no Rich marker is found or if the header is malformed.