Trait boot_info::ElfSection
source · pub trait ElfSection {
// Required methods
fn name(&self) -> &str;
fn start(&self) -> VirtualAddress;
fn len(&self) -> usize;
fn flags(&self) -> ElfSectionFlags;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Required Methods§
sourcefn len(&self) -> usize
fn len(&self) -> usize
Returns the section’s length in memory, as opposed to its length in the ELF file.
sourcefn flags(&self) -> ElfSectionFlags
fn flags(&self) -> ElfSectionFlags
Returns the section’s flags.