IDAPython 9.0
Loading...
Searching...
No Matches
callregs_t Class Reference

Proxy of C++ callregs_t class.

Inheritance diagram for callregs_t:

Public Member Functions

 __init__ (self, *args)
 init(self) -> callregs_t init(self, cc) -> callregs_t
 
"void" swap (self, "callregs_t" r)
 swap(self, r) swap two instances
 
"void" init_regs (self, "cm_t" cc)
 init_regs(self, cc) Init policy & registers for given CC.
 
"bool" by_slots (self)
 by_slots(self) -> bool
 
"void" set (self, "argreg_policy_t" _policy, "int const *" gprs, "int const *" fprs)
 set(self, _policy, gprs, fprs) Init policy & registers (arrays are -1-terminated)
 
"void" set_registers (self, "callregs_t::reg_kind_t" kind, "int" first_reg, "int" last_reg)
 set_registers(self, kind, first_reg, last_reg)
 
"void" reset (self)
 reset(self) Set policy and registers to invalid values.
 
"bool" reginds (self, "int *" gp_ind, "int *" fp_ind, "int" r)
 reginds(self, gp_ind, fp_ind, r) -> bool Get register indexes within GP/FP arrays.
 

Static Public Member Functions

"int" regcount ("cm_t" cc)
 regcount(cc) -> int Get max number of registers may be used in a function call.
 

Static Public Attributes

str policy = property(_ida_typeinf.callregs_t_policy_get, _ida_typeinf.callregs_t_policy_set, doc=)
 
str nregs = property(_ida_typeinf.callregs_t_nregs_get, _ida_typeinf.callregs_t_nregs_set, doc=)
 
str gpregs = property(_ida_typeinf.callregs_t_gpregs_get, _ida_typeinf.callregs_t_gpregs_set, doc=)
 
str fpregs = property(_ida_typeinf.callregs_t_fpregs_get, _ida_typeinf.callregs_t_fpregs_set, doc=)
 
 GPREGS = _ida_typeinf.callregs_t_GPREGS
 
 FPREGS = _ida_typeinf.callregs_t_FPREGS
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Parameters
cccm_t

Member Function Documentation

◆ by_slots()

"bool" by_slots ( self)

◆ init_regs()

"void" init_regs ( self,
"cm_t" cc )
Parameters
cc(C++: cm_t)

◆ regcount()

"int" regcount ( "cm_t" cc)
static
Parameters
cc(C++: cm_t)

◆ reginds()

"bool" reginds ( self,
"int *" gp_ind,
"int *" fp_ind,
"int" r )

(-1 -> is not present in the corresponding array)

Parameters
gp_ind(C++: int *)
fp_ind(C++: int *)
r(C++: int)

◆ reset()

"void" reset ( self)

◆ set()

"void" set ( self,
"argreg_policy_t" _policy,
"int const *" gprs,
"int const *" fprs )
Parameters
_policy(C++: argreg_policy_t) enum argreg_policy_t
gprs(C++: const int *) int const *
fprs(C++: const int *) int const *

◆ set_registers()

"void" set_registers ( self,
"callregs_t.reg_kind_t" kind,
"int" first_reg,
"int" last_reg )
Parameters
kindenum callregs_t::reg_kind_t
first_regint
last_regint

◆ swap()

"void" swap ( self,
"callregs_t" r )
Parameters
r(C++: callregs_t &)

Member Data Documentation

◆ FPREGS

FPREGS = _ida_typeinf.callregs_t_FPREGS
static

◆ fpregs

str fpregs = property(_ida_typeinf.callregs_t_fpregs_get, _ida_typeinf.callregs_t_fpregs_set, doc=)
static

◆ GPREGS

GPREGS = _ida_typeinf.callregs_t_GPREGS
static

◆ gpregs

str gpregs = property(_ida_typeinf.callregs_t_gpregs_get, _ida_typeinf.callregs_t_gpregs_set, doc=)
static

◆ nregs

str nregs = property(_ida_typeinf.callregs_t_nregs_get, _ida_typeinf.callregs_t_nregs_set, doc=)
static

◆ policy

str policy = property(_ida_typeinf.callregs_t_policy_get, _ida_typeinf.callregs_t_policy_set, doc=)
static

Property Documentation

◆ thisown

thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

The documentation for this class was generated from the following file: