Struct elrond::Sections
[−]
[src]
pub struct Sections<'a> { /* fields omitted */ }
Holds all sections
Methods
impl<'a> Sections<'a>
[src]
pub fn new<E: ElfHeader<'a> + 'a + ?Sized>(
elf: &E
) -> Result<Sections<'a>, Fault>
[src]
elf: &E
) -> Result<Sections<'a>, Fault>
Build new sections
pub fn get_section_by_name(&self, name: &str) -> Option<Arc<Section<'a> + 'a>>
[src]
Get a section from its name
In the event there are multiple sections with the same name, this will return the first
pub fn num(&self) -> usize
[src]
Get the number of sections
pub fn get_bss(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_comment(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_data(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_data1(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_debug(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_dyanmic(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_dynstr(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_dynsym(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_fini(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_got(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_hash(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_init(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_interp(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_line(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_note(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_plt(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_rodata(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_rodata1(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_shstrtab(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_strtab(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_symtab(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_text(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_sdata(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_tdesc(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_sbss(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_lit8(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_gptab(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_conflict(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_reginfo(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
pub fn get_liblist(&self) -> Option<Arc<Section<'a> + 'a>>
[src]
Trait Implementations
impl<'a> Clone for Sections<'a>
[src]
fn clone(&self) -> Sections<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> IntoIterator for Sections<'a>
[src]
type Item = Arc<Section<'a> + 'a>
The type of the elements being iterated over.
type IntoIter = SectionsIter<'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for SectionsIter<'a>fn into_iter(self) -> SectionsIter<'a>
[src]
ⓘImportant traits for SectionsIter<'a>
Creates an iterator from a value. Read more