callingconvention module¶
- class CallingConvention(arch: Architecture | None = None, name: str | None = None, handle=None, confidence: int = 255)[source]¶
Bases:
object
- Parameters:
arch (Architecture | None) –
name (str | None) –
confidence (int) –
- get_incoming_flag_value(flag: FlagIndex, func: Function) RegisterValue [source]¶
- Parameters:
flag (FlagIndex) –
func (Function) –
- Return type:
- get_incoming_reg_value(reg: architecture.RegisterType, func: Function) RegisterValue [source]¶
- Parameters:
reg (architecture.RegisterType) –
func (Function) –
- Return type:
- get_incoming_var_for_parameter_var(in_var: CoreVariable, func: Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) Variable [source]¶
- Parameters:
in_var (CoreVariable) –
func (Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) –
- Return type:
- get_parameter_var_for_incoming_var(in_var: CoreVariable, func: Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) Variable [source]¶
- Parameters:
in_var (CoreVariable) –
func (Function | LowLevelILFunction | MediumLevelILFunction | HighLevelILFunction) –
- Return type:
- perform_get_incoming_flag_value(reg: RegisterName, func: Function) RegisterValue [source]¶
- Parameters:
reg (RegisterName) –
func (Function) –
- Return type:
- perform_get_incoming_reg_value(reg: RegisterName, func: Function) RegisterValue [source]¶
- Parameters:
reg (RegisterName) –
func (Function) –
- Return type:
- perform_get_incoming_var_for_parameter_var(in_var: CoreVariable, func: Function | None = None) CoreVariable [source]¶
- Parameters:
in_var (CoreVariable) –
func (Function | None) –
- Return type:
- perform_get_parameter_var_for_incoming_var(in_var: CoreVariable, func: Function | None = None) CoreVariable [source]¶
- Parameters:
in_var (CoreVariable) –
func (Function | None) –
- Return type:
- with_confidence(confidence: int) CallingConvention [source]¶
- Parameters:
confidence (int) –
- Return type:
- property arch: Architecture¶
- arg_regs_for_varargs = True¶
- 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¶