pub struct CommonBase {
pub base: TargetBase,
pub process: Process,
pub step_tid: Cell<tid_t>,
pub symgr: SymbolManager<Module>,
pub bp_map: RwLock<HashMap<BpID, Arc<Breakpoint>>>,
pub dbg_reg: [Cell<usize>; 4],
}Fields§
§base: TargetBase§process: Process§step_tid: Cell<tid_t>§symgr: SymbolManager<Module>§bp_map: RwLock<HashMap<BpID, Arc<Breakpoint>>>§dbg_reg: [Cell<usize>; 4]Implementations§
Source§impl CommonBase
impl CommonBase
pub fn new(ps: Process) -> Self
pub fn get_hwbp_index(&self) -> Option<usize>
pub fn set_hwbp(&self, index: usize, p: usize)
pub fn enable_hwbp_for_context<C: HWBPRegs>( &self, cx: &mut C, info: HwbpInfo, enable: bool, )
pub fn find_table_bp_index(&self) -> Option<isize>
pub fn find_module(&self, address: usize) -> Option<Arc<Module>>
pub fn bp_exists(&self, id: BpID) -> bool
pub fn get_bp<'a>(&'a self, id: BpID) -> Option<Arc<dyn UDbgBreakpoint>>
Methods from Deref<Target = TargetBase>§
pub fn is_ptr32(&self) -> bool
pub fn status(&self) -> UDbgStatus
pub fn pointer_size(&self) -> usize
pub fn check_attached(&self) -> UDbgResult<()>
Trait Implementations§
Source§impl Deref for CommonBase
impl Deref for CommonBase
Auto Trait Implementations§
impl !Freeze for CommonBase
impl !RefUnwindSafe for CommonBase
impl !Send for CommonBase
impl !Sync for CommonBase
impl Unpin for CommonBase
impl !UnwindSafe for CommonBase
Blanket Implementations§
Source§impl<T> AsByteArray for T
impl<T> AsByteArray for T
fn as_byte_array(&self) -> &[u8] ⓘ
Source§impl<T> AsByteArrayMut for T
impl<T> AsByteArrayMut for T
fn as_mut_byte_array(&mut self) -> &mut [u8] ⓘ
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