(&mut self)
| 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); |
no test coverage detected