Trait elfio::ElfSectionAccessTrait[][src]

pub trait ElfSectionAccessTrait {
Show 24 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

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

Read access to the corresponding structure field

Write access to the corresponding structure field

fn get_entry_size(&self) -> ElfXword

Read access to the corresponding structure field

fn set_entry_size(&mut self, value: ElfXword)

Write access to the corresponding structure field

Get section name

Set section name

Returns section data

Initialize section data

Implementors