Skip to main content

section_ascii_name

Function section_ascii_name 

Source
pub fn section_ascii_name(name: &[u8; 8]) -> &[u8] 
Expand description

Trim a PE section name (IMAGE_SECTION_HEADER.Name) to the bytes before the first NUL. Names are 8-byte padded, not UTF-8 strings.