pub struct RunResult {
pub exit_code: Option<i32>,
pub events: Vec<TrapEvent>,
pub patched_svc: usize,
pub entry: u64,
pub sp: u64,
pub slide: u64,
pub initializers_run: usize,
}Expand description
Result of a completed micro run (when the host does not process-exit).
Fields§
§exit_code: Option<i32>Exit code if the guest called exit without _exit from the handler.
events: Vec<TrapEvent>Captured trap events (empty if process already exited).
patched_svc: usizeNumber of svc instructions patched to brk.
entry: u64Entry VA used for the jump.
sp: u64Stack pointer passed to the guest.
slide: u64Applied main image slide.
initializers_run: usizeNumber of mod_init functions invoked before main.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnsafeUnpin for RunResult
impl UnwindSafe for RunResult
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