Trait elfio::ElfSegmentAccessTrait [−][src]
pub trait ElfSegmentAccessTrait {}Show 15 methods
fn get_type(&self) -> ElfWord; fn set_type(&mut self, value: ElfWord); fn get_flags(&self) -> ElfWord; fn set_flags(&mut self, value: ElfWord); fn get_offset(&self) -> Elf64Off; fn get_virtual_address(&self) -> Elf64Addr; fn set_virtual_address(&mut self, value: Elf64Addr); fn get_physical_address(&self) -> Elf64Addr; fn set_physical_address(&mut self, value: Elf64Addr); fn get_file_size(&self) -> ElfXword; fn set_file_size(&mut self, value: ElfXword); fn get_memory_size(&self) -> ElfXword; fn set_memory_size(&mut self, value: ElfXword); fn get_align(&self) -> ElfXword; fn set_align(&mut self, value: ElfXword);
Expand description
Read/Write access to segment properties
Required methods
fn get_offset(&self) -> Elf64Off
fn get_offset(&self) -> Elf64Off
Read access to the corresponding structure field
fn get_virtual_address(&self) -> Elf64Addr
fn get_virtual_address(&self) -> Elf64Addr
Read access to the corresponding structure field
fn set_virtual_address(&mut self, value: Elf64Addr)
fn set_virtual_address(&mut self, value: Elf64Addr)
Write access to the corresponding structure field
fn get_physical_address(&self) -> Elf64Addr
fn get_physical_address(&self) -> Elf64Addr
Read access to the corresponding structure field
fn set_physical_address(&mut self, value: Elf64Addr)
fn set_physical_address(&mut self, value: Elf64Addr)
Write access to the corresponding structure field
fn get_file_size(&self) -> ElfXword
fn get_file_size(&self) -> ElfXword
Read access to the corresponding structure field
fn set_file_size(&mut self, value: ElfXword)
fn set_file_size(&mut self, value: ElfXword)
Write access to the corresponding structure field
fn get_memory_size(&self) -> ElfXword
fn get_memory_size(&self) -> ElfXword
Read access to the corresponding structure field
fn set_memory_size(&mut self, value: ElfXword)
fn set_memory_size(&mut self, value: ElfXword)
Write access to the corresponding structure field