ElfSectionAccessTrait

Trait ElfSectionAccessTrait 

Source
pub trait ElfSectionAccessTrait {
Show 24 methods // Required methods fn get_name_string_offset(&self) -> ElfWord; fn set_name_string_offset(&mut self, value: ElfWord); fn get_type(&self) -> ElfWord; fn set_type(&mut self, value: ElfWord); fn get_flags(&self) -> ElfXword; fn set_flags(&mut self, value: ElfXword); fn get_address(&self) -> Elf64Addr; fn set_address(&mut self, value: Elf64Addr); fn get_offset(&self) -> Elf64Off; fn set_offset(&mut self, value: Elf64Off); fn get_size(&self) -> ElfXword; fn set_size(&mut self, value: ElfXword); fn get_link(&self) -> ElfWord; fn set_link(&mut self, value: ElfWord); fn get_info(&self) -> ElfWord; fn set_info(&mut self, value: ElfWord); fn get_addr_align(&self) -> ElfXword; fn set_addr_align(&mut self, value: ElfXword); fn get_entry_size(&self) -> ElfXword; fn set_entry_size(&mut self, value: ElfXword); fn get_name(&self) -> &str; fn set_name(&mut self, name: &str); fn get_data(&self) -> &[u8] ; fn set_data(&mut self, data: &[u8]);
}
Expand description

Read/Write access to section properties

Required Methods§

Source

fn get_name_string_offset(&self) -> ElfWord

Read access to the corresponding structure field

Source

fn set_name_string_offset(&mut self, value: ElfWord)

Write access to the corresponding structure field

Source

fn get_type(&self) -> ElfWord

Read access to the corresponding structure field

Source

fn set_type(&mut self, value: ElfWord)

Write access to the corresponding structure field

Source

fn get_flags(&self) -> ElfXword

Read access to the corresponding structure field

Source

fn set_flags(&mut self, value: ElfXword)

Write access to the corresponding structure field

Source

fn get_address(&self) -> Elf64Addr

Read access to the corresponding structure field

Source

fn set_address(&mut self, value: Elf64Addr)

Write access to the corresponding structure field

Source

fn get_offset(&self) -> Elf64Off

Read access to the corresponding structure field

Source

fn set_offset(&mut self, value: Elf64Off)

Write access to the corresponding structure field

Source

fn get_size(&self) -> ElfXword

Read access to the corresponding structure field

Source

fn set_size(&mut self, value: ElfXword)

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Source

fn get_info(&self) -> ElfWord

Read access to the corresponding structure field

Source

fn set_info(&mut self, value: ElfWord)

Write access to the corresponding structure field

Source

fn get_addr_align(&self) -> ElfXword

Read access to the corresponding structure field

Source

fn set_addr_align(&mut self, value: ElfXword)

Write access to the corresponding structure field

Source

fn get_entry_size(&self) -> ElfXword

Read access to the corresponding structure field

Source

fn set_entry_size(&mut self, value: ElfXword)

Write access to the corresponding structure field

Source

fn get_name(&self) -> &str

Get section name

Source

fn set_name(&mut self, name: &str)

Set section name

Source

fn get_data(&self) -> &[u8]

Returns section data

Source

fn set_data(&mut self, data: &[u8])

Initialize section data

Implementors§