[−][src]Struct symbolic_symcache::format::FuncRecord
A function or public symbol.
Fields
addr_low: u32
Low bits of the address.
addr_high: u16
High bits of the address.
len: u16
The length of the function.
line_records: Seg<LineRecord, u16>
The line record of this function. If it fully overlaps with an inline the record could be
~0
.
comp_dir: Seg<u8, u8>
The comp dir of the file record.
parent_offset: u16
The ID offset of the parent funciton. Will be ~0 if the function has no parent.
symbol_id_low: u16
The low bits of the ID of the symbol of this function or ~0 if no symbol.
symbol_id_high: u8
The high bits of the ID of the symbol of this function or ~0 if no symbol.
lang: u8
The language of the func record.
Implementations
impl FuncRecord
[src]
pub fn symbol_id(&self) -> u32
[src]
An index into the symbols
segment for the function/symbol name.
pub fn addr_start(&self) -> u64
[src]
The start instruction address address of the function.
pub fn addr_end(&self) -> u64
[src]
The instruction address after the end of the function.
pub fn addr_in_range(&self, addr: u64) -> bool
[src]
Checks whether the given address is covered by the function.
pub fn parent(&self, func_id: usize) -> Option<usize>
[src]
Resolves the index of the parent function in the functions
segment, if this is an
inlined function.
Trait Implementations
impl Clone for FuncRecord
[src]
fn clone(&self) -> FuncRecord
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for FuncRecord
[src]
impl Debug for FuncRecord
[src]
impl Default for FuncRecord
[src]
fn default() -> FuncRecord
[src]
Auto Trait Implementations
impl RefUnwindSafe for FuncRecord
impl Send for FuncRecord
impl Sync for FuncRecord
impl Unpin for FuncRecord
impl UnwindSafe for FuncRecord
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,