Struct symbolic_debuginfo::breakpad::BreakpadFuncRecord [−][src]
pub struct BreakpadFuncRecord<'d> { pub multiple: bool, pub address: u64, pub size: u64, pub parameter_size: u64, pub name: &'d str, // some fields omitted }
A function record including line information.
Example: FUNC m c184 30 0 nsQueryInterfaceWithError::operator()(nsID const&, void**) const
Fields
multiple: bool
Whether this function was referenced multiple times.
address: u64
The start address of this function relative to the image base (load address).
size: u64
The size of the code covered by this function’s line records.
parameter_size: u64
The size of the parameters on the runtime stack.
name: &'d str
The demangled function name.
Implementations
impl<'d> BreakpadFuncRecord<'d>
[src]
impl<'d> BreakpadFuncRecord<'d>
[src]pub fn parse(data: &'d [u8], lines: Lines<'d>) -> Result<Self, BreakpadError>
[src]
Parses a function record from a set of lines.
The first line must contain the function record itself. The lines iterator may contain line records for this function, which are read until another record isencountered or the file ends.
pub fn lines(&self) -> BreakpadLineRecords<'d>ⓘNotable traits for BreakpadLineRecords<'d>
impl<'d> Iterator for BreakpadLineRecords<'d> type Item = Result<BreakpadLineRecord, BreakpadError>;
[src]
Notable traits for BreakpadLineRecords<'d>
impl<'d> Iterator for BreakpadLineRecords<'d> type Item = Result<BreakpadLineRecord, BreakpadError>;
Returns an iterator over line records associated to this function.
Trait Implementations
impl<'d> Clone for BreakpadFuncRecord<'d>
[src]
impl<'d> Clone for BreakpadFuncRecord<'d>
[src]fn clone(&self) -> BreakpadFuncRecord<'d>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'d> Default for BreakpadFuncRecord<'d>
[src]
impl<'d> Default for BreakpadFuncRecord<'d>
[src]fn default() -> BreakpadFuncRecord<'d>
[src]
impl Eq for BreakpadFuncRecord<'_>
[src]
impl Eq for BreakpadFuncRecord<'_>
[src]impl PartialEq<BreakpadFuncRecord<'_>> for BreakpadFuncRecord<'_>
[src]
impl PartialEq<BreakpadFuncRecord<'_>> for BreakpadFuncRecord<'_>
[src]Auto Trait Implementations
impl<'d> RefUnwindSafe for BreakpadFuncRecord<'d>
impl<'d> RefUnwindSafe for BreakpadFuncRecord<'d>
impl<'d> Send for BreakpadFuncRecord<'d>
impl<'d> Send for BreakpadFuncRecord<'d>
impl<'d> Sync for BreakpadFuncRecord<'d>
impl<'d> Sync for BreakpadFuncRecord<'d>
impl<'d> Unpin for BreakpadFuncRecord<'d>
impl<'d> Unpin for BreakpadFuncRecord<'d>
impl<'d> UnwindSafe for BreakpadFuncRecord<'d>
impl<'d> UnwindSafe for BreakpadFuncRecord<'d>