Trait memory_x86_64::ElfSection
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§
fn start(&self) -> VirtualAddress
fn start(&self) -> VirtualAddress
Returns the section’s starting virtual address.
fn len(&self) -> usize
fn len(&self) -> usize
Returns the section’s length in memory, as opposed to its length in the ELF file.
fn flags(&self) -> ElfSectionFlags
fn flags(&self) -> ElfSectionFlags
Returns the section’s flags.