callingconvention module

binaryninja.callingconvention.CallingConvention([...])

class CallingConvention(arch: Architecture | None = None, name: str | None = None, handle=None, confidence: int = 255)[source]

Bases: object

Parameters:
get_incoming_flag_value(flag: FlagIndex, func: Function) RegisterValue[source]
Parameters:
  • flag (FlagIndex) –

  • func (Function) –

Return type:

RegisterValue

get_incoming_reg_value(reg: RegisterName | ILRegister | RegisterIndex, func: Function) RegisterValue[source]
Parameters:
Return type:

RegisterValue

get_incoming_var_for_parameter_var(in_var: CoreVariable, func: Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) Variable[source]
Parameters:
Return type:

Variable

get_parameter_var_for_incoming_var(in_var: CoreVariable, func: Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) Variable[source]
Parameters:
Return type:

Variable

perform_get_incoming_flag_value(reg: RegisterName, func: Function) RegisterValue[source]
Parameters:
  • reg (RegisterName) –

  • func (Function) –

Return type:

RegisterValue

perform_get_incoming_reg_value(reg: RegisterName, func: Function) RegisterValue[source]
Parameters:
  • reg (RegisterName) –

  • func (Function) –

Return type:

RegisterValue

perform_get_incoming_var_for_parameter_var(in_var: CoreVariable, func: Function | None = None) CoreVariable[source]
Parameters:
Return type:

CoreVariable

perform_get_parameter_var_for_incoming_var(in_var: CoreVariable, func: Function | None = None) CoreVariable[source]
Parameters:
Return type:

CoreVariable

with_confidence(confidence: int) CallingConvention[source]
Parameters:

confidence (int) –

Return type:

CallingConvention

property arch: Architecture
arg_regs_for_varargs = True
arg_regs_share_index = False
callee_saved_regs = []
caller_saved_regs = []
eligible_for_heuristics = True
float_arg_regs = []
float_return_reg = None
global_pointer_reg = None
high_int_return_reg = None
implicitly_defined_regs = []
int_arg_regs = []
int_return_reg = None
name = None
stack_adjusted_on_return = False
stack_reserved_for_arg_regs = False