pub struct CoreCallingConvention { /* private fields */ }
Implementations§
source§impl CoreCallingConvention
impl CoreCallingConvention
pub fn name(&self) -> BnString
pub fn variables_for_parameters( &self, params: &[FunctionParameter], permitted_registers: Option<&[CoreRegister]>, ) -> Vec<Variable>
Trait Implementations§
source§impl CallingConvention for CoreCallingConvention
impl CallingConvention for CoreCallingConvention
fn caller_saved_registers(&self) -> Vec<RegisterId>
fn callee_saved_registers(&self) -> Vec<RegisterId>
fn int_arg_registers(&self) -> Vec<RegisterId>
fn float_arg_registers(&self) -> Vec<RegisterId>
fn reserved_stack_space_for_arg_registers(&self) -> bool
fn stack_adjusted_on_return(&self) -> bool
fn is_eligible_for_heuristics(&self) -> bool
fn return_int_reg(&self) -> Option<RegisterId>
fn return_hi_int_reg(&self) -> Option<RegisterId>
fn return_float_reg(&self) -> Option<RegisterId>
fn global_pointer_reg(&self) -> Option<RegisterId>
fn implicitly_defined_registers(&self) -> Vec<RegisterId>
fn are_argument_registers_used_for_var_args(&self) -> bool
source§impl CoreArrayProvider for CoreCallingConvention
impl CoreArrayProvider for CoreCallingConvention
type Raw = *mut BNCallingConvention
type Context = CoreArchitecture
type Wrapped<'a> = Guard<'a, CoreCallingConvention>
source§impl Debug for CoreCallingConvention
impl Debug for CoreCallingConvention
source§impl Hash for CoreCallingConvention
impl Hash for CoreCallingConvention
source§impl PartialEq for CoreCallingConvention
impl PartialEq for CoreCallingConvention
source§impl ToOwned for CoreCallingConvention
impl ToOwned for CoreCallingConvention
source§type Owned = Ref<CoreCallingConvention>
type Owned = Ref<CoreCallingConvention>
The resulting type after obtaining ownership.
source§fn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · source§fn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for CoreCallingConvention
impl Send for CoreCallingConvention
impl Sync for CoreCallingConvention
Auto Trait Implementations§
impl Freeze for CoreCallingConvention
impl RefUnwindSafe for CoreCallingConvention
impl Unpin for CoreCallingConvention
impl UnwindSafe for CoreCallingConvention
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