Struct object::read::File [−][src]
An object file.
Most functionality is provided by the Object
trait implementation.
Implementations
Trait Implementations
impl<'data, 'file, R> Object<'data, 'file> for File<'data, R> where
'data: 'file,
R: 'file + ReadRef<'data>,
[src]
impl<'data, 'file, R> Object<'data, 'file> for File<'data, R> where
'data: 'file,
R: 'file + ReadRef<'data>,
[src]type Segment = Segment<'data, 'file, R>
A segment in the object file.
type SegmentIterator = SegmentIterator<'data, 'file, R>
An iterator over the segments in the object file.
type Section = Section<'data, 'file, R>
A section in the object file.
type SectionIterator = SectionIterator<'data, 'file, R>
An iterator over the sections in the object file.
type Comdat = Comdat<'data, 'file, R>
A COMDAT section group in the object file.
type ComdatIterator = ComdatIterator<'data, 'file, R>
An iterator over the COMDAT section groups in the object file.
type Symbol = Symbol<'data, 'file, R>
A symbol in the object file.
type SymbolIterator = SymbolIterator<'data, 'file, R>
An iterator over symbols in the object file.
type SymbolTable = SymbolTable<'data, 'file, R>
A symbol table in the object file.
type DynamicRelocationIterator = DynamicRelocationIterator<'data, 'file, R>
An iterator over dynamic relocations in the file. Read more
fn architecture(&self) -> Architecture
[src]
fn is_little_endian(&self) -> bool
[src]
fn is_64(&self) -> bool
[src]
fn segments(&'file self) -> SegmentIterator<'data, 'file, R>ⓘNotable traits for SegmentIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SegmentIterator<'data, 'file, R> type Item = Segment<'data, 'file, R>;
[src]
Notable traits for SegmentIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SegmentIterator<'data, 'file, R> type Item = Segment<'data, 'file, R>;
fn section_by_name(
&'file self,
section_name: &str
) -> Option<Section<'data, 'file, R>>
[src]
&'file self,
section_name: &str
) -> Option<Section<'data, 'file, R>>
fn section_by_index(
&'file self,
index: SectionIndex
) -> Result<Section<'data, 'file, R>>
[src]
&'file self,
index: SectionIndex
) -> Result<Section<'data, 'file, R>>
fn sections(&'file self) -> SectionIterator<'data, 'file, R>ⓘNotable traits for SectionIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionIterator<'data, 'file, R> type Item = Section<'data, 'file, R>;
[src]
Notable traits for SectionIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SectionIterator<'data, 'file, R> type Item = Section<'data, 'file, R>;
fn comdats(&'file self) -> ComdatIterator<'data, 'file, R>ⓘNotable traits for ComdatIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for ComdatIterator<'data, 'file, R> type Item = Comdat<'data, 'file, R>;
[src]
Notable traits for ComdatIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for ComdatIterator<'data, 'file, R> type Item = Comdat<'data, 'file, R>;
fn symbol_by_index(
&'file self,
index: SymbolIndex
) -> Result<Symbol<'data, 'file, R>>
[src]
&'file self,
index: SymbolIndex
) -> Result<Symbol<'data, 'file, R>>
fn symbols(&'file self) -> SymbolIterator<'data, 'file, R>ⓘNotable traits for SymbolIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SymbolIterator<'data, 'file, R> type Item = Symbol<'data, 'file, R>;
[src]
Notable traits for SymbolIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SymbolIterator<'data, 'file, R> type Item = Symbol<'data, 'file, R>;
fn symbol_table(&'file self) -> Option<SymbolTable<'data, 'file, R>>
[src]
fn dynamic_symbols(&'file self) -> SymbolIterator<'data, 'file, R>ⓘNotable traits for SymbolIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SymbolIterator<'data, 'file, R> type Item = Symbol<'data, 'file, R>;
[src]
Notable traits for SymbolIterator<'data, 'file, R>
impl<'data, 'file, R: ReadRef<'data>> Iterator for SymbolIterator<'data, 'file, R> type Item = Symbol<'data, 'file, R>;
fn dynamic_symbol_table(&'file self) -> Option<SymbolTable<'data, 'file, R>>
[src]
fn dynamic_relocations(
&'file self
) -> Option<DynamicRelocationIterator<'data, 'file, R>>
[src]
&'file self
) -> Option<DynamicRelocationIterator<'data, 'file, R>>
fn symbol_map(&self) -> SymbolMap<SymbolMapName<'data>>
[src]
fn object_map(&self) -> ObjectMap<'data>
[src]
fn imports(&self) -> Result<Vec<Import<'data>>>
[src]
fn exports(&self) -> Result<Vec<Export<'data>>>
[src]
fn has_debug_symbols(&self) -> bool
[src]
fn mach_uuid(&self) -> Result<Option<[u8; 16]>>
[src]
fn build_id(&self) -> Result<Option<&'data [u8]>>
[src]
fn gnu_debuglink(&self) -> Result<Option<(&'data [u8], u32)>>
[src]
fn gnu_debugaltlink(&self) -> Result<Option<(&'data [u8], &'data [u8])>>
[src]
fn entry(&self) -> u64
[src]
fn flags(&self) -> FileFlags
[src]
fn endianness(&self) -> Endianness
[src]
Auto Trait Implementations
impl<'data, R> RefUnwindSafe for File<'data, R> where
R: RefUnwindSafe,
impl<'data, R> RefUnwindSafe for File<'data, R> where
R: RefUnwindSafe,
impl<'data, R> UnwindSafe for File<'data, R> where
R: UnwindSafe,
impl<'data, R> UnwindSafe for File<'data, R> where
R: UnwindSafe,