pub struct HelixVM { /* private fields */ }
Implementations§
Source§impl HelixVM
impl HelixVM
pub fn new() -> Self
pub fn with_debug(self) -> Self
pub fn execute_binary(&mut self, binary: &HelixBinary) -> VMResult<HelixConfig>
pub fn push(&mut self, value: Value) -> VMResult<()>
pub fn pop(&mut self) -> VMResult<Value>
pub fn load_memory(&self, address: u32) -> VMResult<&Value>
pub fn store_memory(&mut self, address: u32, value: Value) -> VMResult<()>
pub fn set_breakpoint(&mut self, address: usize)
pub fn remove_breakpoint(&mut self, address: usize)
pub fn continue_execution(&mut self)
pub fn step(&mut self)
pub fn state(&self) -> &ExecutionState
pub fn stats(&self) -> VMStats
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HelixVM
impl RefUnwindSafe for HelixVM
impl Send for HelixVM
impl Sync for HelixVM
impl Unpin for HelixVM
impl UnwindSafe for HelixVM
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