Skip to main content

classify_section

Function classify_section 

Source
pub fn classify_section(name: &str) -> SpecSection
Expand description

Classify an ELF section name.

A raw section whose suffix is not v<integer> classifies as SpecSection::Other: an unparseable suffix cannot be reported as a version skew, and treating it as a raw section would only turn it into a decode failure later.