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

Method uc_ptr

icicle-cortexm/src/unicorn_api.rs:42–50  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

40 }
41
42 pub(crate) unsafe fn uc_ptr(&mut self) -> *mut fuzzware::uc_engine {
43 match self.vtable.as_mut() {
44 Some(vtable) => vtable.as_mut(),
45 None => {
46 self.build_vtable();
47 self.vtable.as_mut().unwrap().as_mut()
48 }
49 }
50 }
51
52 fn get_reg_slice(&mut self, regid: i32) -> Option<&mut [u8]> {
53 let var = *self.uc_vars.get(regid as usize).unwrap_or(&pcode::VarNode::NONE);

Callers 2

with_uc_ptrMethod · 0.80
fuzzware_initMethod · 0.80

Calls 1

build_vtableMethod · 0.80

Tested by

no test coverage detected