Struct symbolic_debuginfo::Object [−][src]
pub struct Object<'bytes> { /* fields omitted */ }
Represents a single object in a fat object.
Methods
impl<'bytes> Object<'bytes>
[src]
impl<'bytes> Object<'bytes>
pub fn id(&self) -> Option<DebugId>
[src]
pub fn id(&self) -> Option<DebugId>
Returns the identifier of the object.
pub fn kind(&self) -> ObjectKind
[src]
pub fn kind(&self) -> ObjectKind
Returns the kind of the object.
pub fn arch(&self) -> Result<Arch, ObjectError>
[src]
pub fn arch(&self) -> Result<Arch, ObjectError>
Returns the architecture of the object.
pub fn vmaddr(&self) -> u64
[src]
pub fn vmaddr(&self) -> u64
Return the vmaddr of the code portion of the image.
pub fn endianness(&self) -> Endianness
[src]
pub fn endianness(&self) -> Endianness
True if little endian, false if not.
pub fn as_bytes(&self) -> &'bytes [u8]
[src]
pub fn as_bytes(&self) -> &'bytes [u8]
Returns the content of the object as bytes.
pub fn class(&self) -> ObjectClass
[src]
pub fn class(&self) -> ObjectClass
Returns the desiganted use of the object file and hints at its contents.
pub fn debug_kind(&self) -> Option<DebugKind>
[src]
pub fn debug_kind(&self) -> Option<DebugKind>
Returns the type of debug data contained in this object file.
Trait Implementations
impl<'data> BreakpadData for Object<'data>
[src]
impl<'data> BreakpadData for Object<'data>
fn has_breakpad_data(&self) -> bool
[src]
fn has_breakpad_data(&self) -> bool
Determines whether this Object
contains Breakpad debugging information.
ⓘImportant traits for BreakpadRecords<'data>fn breakpad_records(&self) -> BreakpadRecords
[src]
fn breakpad_records(&self) -> BreakpadRecords
Returns an iterator over all records of the Breakpad symbol file.
impl<'input> DwarfData for Object<'input>
[src]
impl<'input> DwarfData for Object<'input>
fn has_dwarf_data(&self) -> bool
[src]
fn has_dwarf_data(&self) -> bool
Checks whether this object contains DWARF infos.
fn get_dwarf_section(&self, section: DwarfSection) -> Option<DwarfSectionData>
[src]
fn get_dwarf_section(&self, section: DwarfSection) -> Option<DwarfSectionData>
Loads a specific dwarf section if its in the file.
impl<'a> DebugFeatures for Object<'a>
[src]
impl<'a> DebugFeatures for Object<'a>
fn has_symbol_table(&self) -> bool
[src]
fn has_symbol_table(&self) -> bool
Checks whether this file contains a symbol table.
fn has_debug_info(&self) -> bool
[src]
fn has_debug_info(&self) -> bool
Checks whether this object file contains processable debug information.
fn has_unwind_info(&self) -> bool
[src]
fn has_unwind_info(&self) -> bool
Checks whether this object contains processable unwind information (CFI).
fn has_mapping(&self) -> bool
[src]
fn has_mapping(&self) -> bool
Checks whether this object contains processable name mapping info.
fn has_feature(&self, feature: ObjectFeature) -> bool
[src]
fn has_feature(&self, feature: ObjectFeature) -> bool
Checks whether this object has a given feature.
fn features(&self) -> BTreeSet<ObjectFeature>
[src]
fn features(&self) -> BTreeSet<ObjectFeature>
Returns all features of this object.
impl<'bytes> Debug for Object<'bytes>
[src]
impl<'bytes> Debug for Object<'bytes>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'data> SymbolTable for Object<'data>
[src]
impl<'data> SymbolTable for Object<'data>
fn has_symbols(&self) -> bool
[src]
fn has_symbols(&self) -> bool
Checks whether this object contains DWARF infos.
fn symbols(&self) -> Result<Option<Symbols>, ObjectError>
[src]
fn symbols(&self) -> Result<Option<Symbols>, ObjectError>
Returns the symbols of this Object
. Read more