Struct binaryninja::callingconvention::CallingConvention
source · pub struct CallingConvention<A: Architecture> { /* private fields */ }
Implementations§
source§impl<A: Architecture> CallingConvention<A>
impl<A: Architecture> CallingConvention<A>
pub fn name(&self) -> BnString
pub fn variables_for_parameters( &self, params: &[FunctionParameter], permitted_registers: Option<&[A::Register]> ) -> Vec<Variable>
Trait Implementations§
source§impl<A: Architecture> CallingConventionBase for CallingConvention<A>
impl<A: Architecture> CallingConventionBase for CallingConvention<A>
type Arch = A
fn caller_saved_registers(&self) -> Vec<A::Register>
fn callee_saved_registers(&self) -> Vec<A::Register>
fn int_arg_registers(&self) -> Vec<A::Register>
fn float_arg_registers(&self) -> Vec<A::Register>
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<A::Register>
fn return_hi_int_reg(&self) -> Option<A::Register>
fn return_float_reg(&self) -> Option<A::Register>
fn global_pointer_reg(&self) -> Option<A::Register>
fn implicitly_defined_registers(&self) -> Vec<A::Register>
fn are_argument_registers_used_for_var_args(&self) -> bool
source§impl<A: Architecture> CoreArrayProvider for CallingConvention<A>
impl<A: Architecture> CoreArrayProvider for CallingConvention<A>
source§impl Debug for CallingConvention<CoreArchitecture>
impl Debug for CallingConvention<CoreArchitecture>
source§impl<A: Architecture> Hash for CallingConvention<A>
impl<A: Architecture> Hash for CallingConvention<A>
source§impl<A: Architecture> PartialEq for CallingConvention<A>
impl<A: Architecture> PartialEq for CallingConvention<A>
source§impl<A: Architecture> ToOwned for CallingConvention<A>
impl<A: Architecture> ToOwned for CallingConvention<A>
§type Owned = Ref<CallingConvention<A>>
type Owned = Ref<CallingConvention<A>>
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<A: Architecture> Eq for CallingConvention<A>
impl<A: Architecture> Send for CallingConvention<A>
impl<A: Architecture> Sync for CallingConvention<A>
Auto Trait Implementations§
impl<A> RefUnwindSafe for CallingConvention<A>
impl<A> Unpin for CallingConvention<A>
impl<A> UnwindSafe for CallingConvention<A>
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