Struct symbolic_debuginfo::Object
source · pub struct Object<'bytes> { /* private fields */ }
Expand description
Represents a single object in a fat object.
Implementations
sourceimpl<'bytes> Object<'bytes>
impl<'bytes> Object<'bytes>
sourcepub fn kind(&self) -> ObjectKind
pub fn kind(&self) -> ObjectKind
Returns the kind of the object.
sourcepub fn arch(&self) -> Result<Arch, ObjectError>
pub fn arch(&self) -> Result<Arch, ObjectError>
Returns the architecture of the object.
sourcepub fn endianness(&self) -> Endianness
pub fn endianness(&self) -> Endianness
True if little endian, false if not.
sourcepub fn class(&self) -> ObjectClass
pub fn class(&self) -> ObjectClass
Returns the desiganted use of the object file and hints at its contents.
sourcepub fn debug_kind(&self) -> Option<DebugKind>
pub fn debug_kind(&self) -> Option<DebugKind>
Returns the type of debug data contained in this object file.
Trait Implementations
sourceimpl<'data> BreakpadData for Object<'data>
impl<'data> BreakpadData for Object<'data>
sourcefn has_breakpad_data(&self) -> bool
fn has_breakpad_data(&self) -> bool
Determines whether this
Object
contains Breakpad debugging information.sourcefn breakpad_records(&self) -> BreakpadRecords<'_>ⓘ
fn breakpad_records(&self) -> BreakpadRecords<'_>ⓘ
Returns an iterator over all records of the Breakpad symbol file.
sourceimpl<'a> DebugFeatures for Object<'a>
impl<'a> DebugFeatures for Object<'a>
sourcefn has_symbol_table(&self) -> bool
fn has_symbol_table(&self) -> bool
Checks whether this file contains a symbol table.
sourcefn has_debug_info(&self) -> bool
fn has_debug_info(&self) -> bool
Checks whether this object file contains processable debug information.
sourcefn has_unwind_info(&self) -> bool
fn has_unwind_info(&self) -> bool
Checks whether this object contains processable unwind information (CFI).
sourcefn has_mapping(&self) -> bool
fn has_mapping(&self) -> bool
Checks whether this object contains processable name mapping info.
sourcefn has_feature(&self, feature: ObjectFeature) -> bool
fn has_feature(&self, feature: ObjectFeature) -> bool
Checks whether this object has a given feature.
sourcefn features(&self) -> BTreeSet<ObjectFeature>
fn features(&self) -> BTreeSet<ObjectFeature>
Returns all features of this object.
sourceimpl<'input> DwarfData for Object<'input>
impl<'input> DwarfData for Object<'input>
sourcefn has_dwarf_data(&self) -> bool
fn has_dwarf_data(&self) -> bool
Checks whether this object contains DWARF infos.
sourcefn get_dwarf_section(
&self,
section: DwarfSection
) -> Option<DwarfSectionData<'_>>
fn get_dwarf_section(
&self,
section: DwarfSection
) -> Option<DwarfSectionData<'_>>
Loads a specific dwarf section if its in the file.
sourceimpl<'data> SymbolTable for Object<'data>
impl<'data> SymbolTable for Object<'data>
sourcefn has_symbols(&self) -> bool
fn has_symbols(&self) -> bool
Checks whether this object contains DWARF infos.
Auto Trait Implementations
impl<'bytes> RefUnwindSafe for Object<'bytes>
impl<'bytes> Send for Object<'bytes>
impl<'bytes> Sync for Object<'bytes>
impl<'bytes> Unpin for Object<'bytes>
impl<'bytes> UnwindSafe for Object<'bytes>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more