Struct simics_api_sys::debug_symbol_interface
source · #[repr(C)]pub struct debug_symbol_interface {Show 21 fields
pub address_source: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, size: uint64, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, code_area: attr_value_t)>, data: cbdata_register_t) -> attr_value_t>,
pub source_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, filename: *const c_char, line: uint32, column: uint32, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, code_area: attr_value_t)>, data: cbdata_register_t) -> attr_value_t>,
pub address_symbol: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64) -> attr_value_t>,
pub stack_depth: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub stack_frames: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, min: c_int, max: c_int) -> attr_value_t>,
pub local_variables: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: c_int) -> attr_value_t>,
pub local_arguments: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: c_int) -> attr_value_t>,
pub expression_value: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, address_scope: uint64, expr: *const c_char) -> attr_value_t>,
pub expression_type: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, address_scope: uint64, expr: *const c_char) -> attr_value_t>,
pub type_info: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, type_: *const c_char) -> attr_value_t>,
pub type_to_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: attr_value_t) -> attr_value_t>,
pub symbol_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, symbol: *const c_char) -> attr_value_t>,
pub address_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, maxlen: c_int) -> attr_value_t>,
pub lvalue_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, symbol: *const c_char, value: attr_value_t) -> attr_value_t>,
pub address_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, value: attr_value_t) -> attr_value_t>,
pub address_read: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, size: c_uint) -> attr_value_t>,
pub struct_members: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, struct_name: *const c_char) -> attr_value_t>,
pub struct_field: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, struct_name: *const c_char, field: *const c_char) -> attr_value_t>,
pub list_functions: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub list_global_variables: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
pub list_source_files: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>,
}
Fields§
§address_source: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, size: uint64, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, code_area: attr_value_t)>, data: cbdata_register_t) -> attr_value_t>
§source_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, filename: *const c_char, line: uint32, column: uint32, cb: Option<unsafe extern "C" fn(data: cbdata_call_t, code_area: attr_value_t)>, data: cbdata_register_t) -> attr_value_t>
§address_symbol: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64) -> attr_value_t>
§stack_depth: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§stack_frames: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, min: c_int, max: c_int) -> attr_value_t>
§local_variables: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: c_int) -> attr_value_t>
§local_arguments: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: c_int) -> attr_value_t>
§expression_value: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, address_scope: uint64, expr: *const c_char) -> attr_value_t>
§expression_type: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, address_scope: uint64, expr: *const c_char) -> attr_value_t>
§type_info: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, type_: *const c_char) -> attr_value_t>
§type_to_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, type_: attr_value_t) -> attr_value_t>
§symbol_address: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, symbol: *const c_char) -> attr_value_t>
§address_string: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, maxlen: c_int) -> attr_value_t>
§lvalue_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, frame: int32, symbol: *const c_char, value: attr_value_t) -> attr_value_t>
§address_write: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, value: attr_value_t) -> attr_value_t>
§address_read: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address: uint64, size: c_uint) -> attr_value_t>
§struct_members: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, struct_name: *const c_char) -> attr_value_t>
§struct_field: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char, address_scope: uint64, struct_name: *const c_char, field: *const c_char) -> attr_value_t>
§list_functions: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§list_global_variables: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
§list_source_files: Option<unsafe extern "C" fn(obj: *mut conf_object_t, ctx_id: *const c_char) -> attr_value_t>
Trait Implementations§
source§impl Clone for debug_symbol_interface
impl Clone for debug_symbol_interface
source§fn clone(&self) -> debug_symbol_interface
fn clone(&self) -> debug_symbol_interface
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for debug_symbol_interface
impl Debug for debug_symbol_interface
source§impl Default for debug_symbol_interface
impl Default for debug_symbol_interface
source§fn default() -> debug_symbol_interface
fn default() -> debug_symbol_interface
Returns the “default value” for a type. Read more
source§impl Hash for debug_symbol_interface
impl Hash for debug_symbol_interface
source§impl Ord for debug_symbol_interface
impl Ord for debug_symbol_interface
source§fn cmp(&self, other: &debug_symbol_interface) -> Ordering
fn cmp(&self, other: &debug_symbol_interface) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for debug_symbol_interface
impl PartialEq for debug_symbol_interface
source§impl PartialOrd for debug_symbol_interface
impl PartialOrd for debug_symbol_interface
impl Copy for debug_symbol_interface
impl Eq for debug_symbol_interface
impl StructuralPartialEq for debug_symbol_interface
Auto Trait Implementations§
impl Freeze for debug_symbol_interface
impl RefUnwindSafe for debug_symbol_interface
impl Send for debug_symbol_interface
impl Sync for debug_symbol_interface
impl Unpin for debug_symbol_interface
impl UnwindSafe for debug_symbol_interface
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)