pub struct RunOptions {
pub root: Option<PathBuf>,
pub guest_page_size: GuestPageSize,
pub guest_args: Vec<String>,
pub max_events: usize,
pub max_syscalls: usize,
pub dry_load: bool,
}Expand description
Options for a micro run / trace.
Fields§
§root: Option<PathBuf>Bottle root (KAKEHASHI_ROOT / --root) for path translation.
guest_page_size: GuestPageSizeGuest page size policy.
guest_args: Vec<String>Guest argv (not including argv0 = executable path — that is prepended).
max_events: usizeMaximum trap events to retain.
max_syscalls: usizeMaximum syscalls before forced process exit.
dry_load: boolWhen true, only map (caller should use LoadSession::dry_load instead).
Trait Implementations§
Source§impl Clone for RunOptions
impl Clone for RunOptions
Source§impl Debug for RunOptions
impl Debug for RunOptions
Auto Trait Implementations§
impl Freeze for RunOptions
impl RefUnwindSafe for RunOptions
impl Send for RunOptions
impl Sync for RunOptions
impl Unpin for RunOptions
impl UnsafeUnpin for RunOptions
impl UnwindSafe for RunOptions
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