MCPcopy Create free account
hub / github.com/MultiFuzz/MultiFuzz / new

Method new

icicle-cortexm/src/unicorn_api.rs:38–40  ·  view source on GitHub ↗
(vm: &mut Vm)

Source from the content-addressed store, hash-verified

36
37impl Context {
38 pub fn new(vm: &mut Vm) -> anyhow::Result<Self> {
39 Ok(Self { vm: vm as *mut Vm, io_handle: None, uc_vars: vec![], vtable: None, timer: None })
40 }
41
42 pub(crate) unsafe fn uc_ptr(&mut self) -> *mut fuzzware::uc_engine {
43 match self.vtable.as_mut() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected