struct Cache {
libraries: Vec<Library>,
mappings: Vec<(usize, Mapping)>,
}
Fields§
§libraries: Vec<Library>
All known shared libraries that have been loaded.
mappings: Vec<(usize, Mapping)>
Mappings cache where we retain parsed dwarf information.
This list has a fixed capacity for its entire lifetime which never
increases. The usize
element of each pair is an index into libraries
above where usize::max_value()
represents the current executable. The
Mapping
is corresponding parsed dwarf information.
Note that this is basically an LRU cache and we’ll be shifting things around in here as we symbolize addresses.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cache
impl !RefUnwindSafe for Cache
impl !Send for Cache
impl !Sync for Cache
impl Unpin for Cache
impl UnwindSafe for Cache
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more