[−]Struct libunwind_rs::CoredumpState
This state is used by accessors
Methods
impl CoredumpState[src]
pub fn new(core_path: &Path) -> Result<CoredumpState, Error>[src]
Method constructs new CoredumpState from path to core file.
Arguments
-
accessors- Bunch of Accessors functions (Ptrace, Coredump) -
byteorder- Endianess of target machine
pub fn load_file_at_vaddr(&mut self, file_path: &Path, vaddr: usize)[src]
Method maps executable to specified virtual address.
Arguments
-
file_path- path to executable -
vaddr- address to map
pub fn pid(&mut self) -> i32[src]
Method returns current thread id
pub fn num_threads(&mut self) -> i32[src]
Method returns the number of threads
pub fn select_thread(&mut self, id: i32)[src]
pub fn access_mem(
&mut self,
asp: &AddressSpace,
address: usize
) -> Result<usize, Error>[src]
&mut self,
asp: &AddressSpace,
address: usize
) -> Result<usize, Error>
Method gets value for memory address
Arguments
-
asp- AddressSpace struct -
address- memory address to access
Trait Implementations
impl AsMut<CoredumpStateRef> for CoredumpState
fn as_mut(&mut self) -> &mut CoredumpStateRef
impl AsRef<CoredumpStateRef> for CoredumpState
fn as_ref(&self) -> &CoredumpStateRef
impl Borrow<CoredumpStateRef> for CoredumpState
fn borrow(&self) -> &CoredumpStateRef
impl BorrowMut<CoredumpStateRef> for CoredumpState
fn borrow_mut(&mut self) -> &mut CoredumpStateRef
impl Deref for CoredumpState
type Target = CoredumpStateRef
The resulting type after dereferencing.
fn deref(&self) -> &CoredumpStateRef
impl DerefMut for CoredumpState
fn deref_mut(&mut self) -> &mut CoredumpStateRef
impl Drop for CoredumpState
fn drop(&mut self)
impl ForeignType for CoredumpState
Auto Trait Implementations
impl RefUnwindSafe for CoredumpState
impl !Send for CoredumpState
impl !Sync for CoredumpState
impl Unpin for CoredumpState
impl UnwindSafe for CoredumpState
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, 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>,