pub struct DebuggerSession {
pub debugger: Debugger<DebuggerSyscallHandler>,
pub line_map: Option<LineMap>,
pub elf_bytes: Vec<u8>,
pub elf_path: PathBuf,
}Fields§
§debugger: Debugger<DebuggerSyscallHandler>§line_map: Option<LineMap>§elf_bytes: Vec<u8>§elf_path: PathBufImplementations§
Source§impl DebuggerSession
impl DebuggerSession
pub fn build_vm( instructions: Vec<Instruction>, input: Vec<u8>, rodata_bytes: Vec<u8>, config: SbpfVmConfig, program_id: Address, ) -> SbpfVm<DebuggerSyscallHandler>
Auto Trait Implementations§
impl Freeze for DebuggerSession
impl !RefUnwindSafe for DebuggerSession
impl !Send for DebuggerSession
impl !Sync for DebuggerSession
impl Unpin for DebuggerSession
impl UnsafeUnpin for DebuggerSession
impl !UnwindSafe for DebuggerSession
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more