Skip to main content

collect_sections

Function collect_sections 

Source
pub fn collect_sections(
    file: &File<'_>,
    ir: &mut ArtifactIr,
) -> Result<(), Error>
Expand description

Copy the section, read-only data, and relocation facts common to native object formats into format-neutral IR.

§Errors

Returns an object-reader error when a section’s bytes cannot be read.