pub struct VirtualInstructionBreakpointInterface {
obj: *mut ConfObject,
interface: *mut virtual_instruction_breakpoint_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut virtual_instruction_breakpoint_interface
Implementations§
source§impl VirtualInstructionBreakpointInterface
impl VirtualInstructionBreakpointInterface
sourcepub fn add(
&mut self,
first: generic_address_t,
last: generic_address_t,
filter: Option<unsafe extern "C" fn(filter_data: cbdata_call_t, cpu: *mut conf_object_t, opcode: bytes_t) -> bool>,
filter_data: cbdata_register_t,
callback: Option<unsafe extern "C" fn(callback_data: cbdata_call_t, cpu: *mut conf_object_t, address: generic_address_t, size: c_uint)>,
callback_data: cbdata_register_t,
flags: uint32,
) -> Result<*mut virtual_instr_bp_handle_t>
pub fn add( &mut self, first: generic_address_t, last: generic_address_t, filter: Option<unsafe extern "C" fn(filter_data: cbdata_call_t, cpu: *mut conf_object_t, opcode: bytes_t) -> bool>, filter_data: cbdata_register_t, callback: Option<unsafe extern "C" fn(callback_data: cbdata_call_t, cpu: *mut conf_object_t, address: generic_address_t, size: c_uint)>, callback_data: cbdata_register_t, flags: uint32, ) -> Result<*mut virtual_instr_bp_handle_t>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for VirtualInstructionBreakpointInterface
impl Interface for VirtualInstructionBreakpointInterface
source§const NAME: &'static [u8] = crate::api::sys::VIRTUAL_INSTRUCTION_BREAKPOINT_INTERFACE
const NAME: &'static [u8] = crate::api::sys::VIRTUAL_INSTRUCTION_BREAKPOINT_INTERFACE
The name of the interface
source§type InternalInterface = virtual_instruction_breakpoint_interface
type InternalInterface = virtual_instruction_breakpoint_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for VirtualInstructionBreakpointInterface
impl RefUnwindSafe for VirtualInstructionBreakpointInterface
impl !Send for VirtualInstructionBreakpointInterface
impl !Sync for VirtualInstructionBreakpointInterface
impl Unpin for VirtualInstructionBreakpointInterface
impl UnwindSafe for VirtualInstructionBreakpointInterface
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