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]
pub fn id(&self) -> Option<DebugId>
[src]
Returns the identifier of the object.
pub fn kind(&self) -> ObjectKind
[src]
Returns the kind of the object.
pub fn arch(&self) -> Result<Arch, ObjectError>
[src]
Returns the architecture of the object.
pub fn vmaddr(&self) -> u64
[src]
Return the vmaddr of the code portion of the image.
pub fn endianness(&self) -> Endianness
[src]
True if little endian, false if not.
pub fn as_bytes(&self) -> &'bytes [u8]
[src]
Returns the content of the object as bytes.
pub fn class(&self) -> ObjectClass
[src]
Returns the desiganted use of the object file and hints at its contents.
pub fn debug_kind(&self) -> Option<DebugKind>
[src]
Returns the type of debug data contained in this object file.
Trait Implementations
impl<'data> BreakpadData for Object<'data>
[src]
fn has_breakpad_data(&self) -> bool
[src]
Determines whether this Object
contains Breakpad debugging information.
ⓘImportant traits for BreakpadRecords<'data>fn breakpad_records<'input>(&'input self) -> BreakpadRecords<'input>
[src]
ⓘImportant traits for BreakpadRecords<'data>
Returns an iterator over all records of the Breakpad symbol file.
impl<'input> DwarfData for Object<'input>
[src]
fn has_dwarf_data(&self) -> bool
[src]
Checks whether this object contains DWARF infos.
fn get_dwarf_section<'data>(
&'data self,
section: DwarfSection
) -> Option<DwarfSectionData<'data>>
[src]
&'data self,
section: DwarfSection
) -> Option<DwarfSectionData<'data>>
Loads a specific dwarf section if its in the file.
impl<'bytes> Debug for Object<'bytes>
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more