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

Proxy of C++ argloc_t class.

Inheritance diagram for argloc_t:
vdloc_t argpart_t scif_t

Public Member Functions

 __init__ (self, *args)
 init(self) -> argloc_t init(self, r) -> argloc_t
 
"void" swap (self, "argloc_t" r)
 swap(self, r) Assign this == r and r == this.
 
"argloc_type_t" atype (self)
 atype(self) -> argloc_type_t Get type (Argument location types)
 
"bool" is_reg1 (self)
 is_reg1(self) -> bool See ALOC_REG1.
 
"bool" is_reg2 (self)
 is_reg2(self) -> bool See ALOC_REG2.
 
"bool" is_reg (self)
 is_reg(self) -> bool is_reg1() || is_reg2()
 
"bool" is_rrel (self)
 is_rrel(self) -> bool See ALOC_RREL.
 
"bool" is_ea (self)
 is_ea(self) -> bool See ALOC_STATIC.
 
"bool" is_stkoff (self)
 is_stkoff(self) -> bool See ALOC_STACK.
 
"bool" is_scattered (self)
 is_scattered(self) -> bool See ALOC_DIST.
 
"bool" has_reg (self)
 has_reg(self) -> bool TRUE if argloc has a register part.
 
"bool" has_stkoff (self)
 has_stkoff(self) -> bool TRUE if argloc has a stack part.
 
"bool" is_mixed_scattered (self)
 is_mixed_scattered(self) -> bool mixed scattered: consists of register and stack parts
 
"bool" in_stack (self)
 in_stack(self) -> bool TRUE if argloc is in stack entirely.
 
"bool" is_fragmented (self)
 is_fragmented(self) -> bool is_scattered() || is_reg2()
 
"bool" is_custom (self)
 is_custom(self) -> bool See ALOC_CUSTOM.
 
"bool" is_badloc (self)
 is_badloc(self) -> bool See ALOC_NONE.
 
"int" reg1 (self)
 reg1(self) -> int Get the register info.
 
"int" regoff (self)
 regoff(self) -> int Get offset from the beginning of the register in bytes.
 
"int" reg2 (self)
 reg2(self) -> int Get info for the second register.
 
"uint32" get_reginfo (self)
 get_reginfo(self) -> uint32 Get all register info.
 
"sval_t" stkoff (self)
 stkoff(self) -> sval_t Get the stack offset.
 
"ea_t" get_ea (self)
 get_ea(self) -> ea_t Get the global address.
 
"scattered_aloc_t const &" scattered (self, *args)
 scattered(self) -> scattered_aloc_t Get scattered argument info.
 
"rrel_t const &" get_rrel (self, *args)
 get_rrel(self) -> rrel_t Get register-relative info.
 
"void *" get_custom (self)
 get_custom(self) -> void * Get custom argloc info.
 
"argloc_t::biggest_t" get_biggest (self)
 get_biggest(self) -> argloc_t::biggest_t Get largest element in internal union.
 
"void" set_reg1 (self, "int" reg, "int" off=0)
 set_reg1(self, reg, off=0) Set register location.
 
"void" set_reg2 (self, "int" _reg1, "int" _reg2)
 set_reg2(self, _reg1, _reg2) Set secondary register location.
 
"void" set_stkoff (self, "sval_t" off)
 set_stkoff(self, off) Set stack offset location.
 
"void" set_ea (self, "ea_t" _ea)
 set_ea(self, _ea) Set static ea location.
 
"void" consume_rrel (self, "rrel_t" p)
 consume_rrel(self, p) Set register-relative location - can't be nullptr.
 
"void" set_badloc (self)
 set_badloc(self) Set to invalid location.
 
"sval_t" calc_offset (self)
 calc_offset(self) -> sval_t Calculate offset that can be used to compare 2 similar arglocs.
 
"bool" advance (self, "int" delta)
 advance(self, delta) -> bool Move the location to point 'delta' bytes further.
 
"void" align_reg_high (self, "size_t" size, "size_t" _slotsize)
 align_reg_high(self, size, _slotsize) Set register offset to align it to the upper part of _SLOTSIZE.
 
"void" align_stkoff_high (self, "size_t" size, "size_t" _slotsize)
 align_stkoff_high(self, size, _slotsize) Set stack offset to align to the upper part of _SLOTSIZE.
 
"bool" __eq__ (self, "argloc_t" r)
 eq(self, r) -> bool
 
"bool" __ne__ (self, "argloc_t" r)
 ne(self, r) -> bool
 
"bool" __lt__ (self, "argloc_t" r)
 lt(self, r) -> bool
 
"bool" __gt__ (self, "argloc_t" r)
 gt(self, r) -> bool
 
"bool" __le__ (self, "argloc_t" r)
 le(self, r) -> bool
 
"bool" __ge__ (self, "argloc_t" r)
 ge(self, r) -> bool
 
"int" compare (self, "argloc_t" r)
 compare(self, r) -> int
 
"void" consume_scattered (self, "scattered_aloc_t" p)
 consume_scattered(self, p) Set distributed argument location.
 

Protected Member Functions

"void" _set_badloc (self)
 _set_badloc(self)
 
"void" _set_reg1 (self, "int" reg, "int" off=0)
 _set_reg1(self, reg, off=0)
 
"void" _set_reg2 (self, "int" _reg1, "int" _reg2)
 _set_reg2(self, _reg1, _reg2)
 
"void" _set_stkoff (self, "sval_t" off)
 _set_stkoff(self, off)
 
"void" _set_ea (self, "ea_t" _ea)
 _set_ea(self, _ea)
 
"bool" _consume_rrel (self, "rrel_t" p)
 _consume_rrel(self, p) -> bool
 
"bool" _consume_scattered (self, "scattered_aloc_t" p)
 _consume_scattered(self, p) -> bool
 
"void" _set_custom (self, "argloc_type_t" ct, "void *" pdata)
 _set_custom(self, ct, pdata)
 
"void" _set_biggest (self, "argloc_type_t" ct, "argloc_t::biggest_t" data)
 _set_biggest(self, ct, data)
 

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
rargloc_t const &

Reimplemented in scif_t, vdloc_t, and argpart_t.

Member Function Documentation

◆ __eq__()

"bool" __eq__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ __ge__()

"bool" __ge__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ __gt__()

"bool" __gt__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ __le__()

"bool" __le__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ __lt__()

"bool" __lt__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t, and argpart_t.

◆ __ne__()

"bool" __ne__ ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ _consume_rrel()

"bool" _consume_rrel ( self,
"rrel_t" p )
protected

Parameters

p: rrel_t *

◆ _consume_scattered()

"bool" _consume_scattered ( self,
"scattered_aloc_t" p )
protected

Parameters

p: scattered_aloc_t *

◆ _set_badloc()

"void" _set_badloc ( self)
protected

◆ _set_biggest()

"void" _set_biggest ( self,
"argloc_type_t" ct,
"argloc_t.biggest_t" data )
protected

Parameters

ct: argloc_type_t data: argloc_t::biggest_t

◆ _set_custom()

"void" _set_custom ( self,
"argloc_type_t" ct,
"void *" pdata )
protected

Parameters

ct: argloc_type_t pdata: void *

◆ _set_ea()

"void" _set_ea ( self,
"ea_t" _ea )
protected

Parameters

_ea: ea_t

◆ _set_reg1()

"void" _set_reg1 ( self,
"int" reg,
"int" off = 0 )
protected

Parameters

reg: int off: int

Reimplemented in vdloc_t.

◆ _set_reg2()

"void" _set_reg2 ( self,
"int" _reg1,
"int" _reg2 )
protected

Parameters

_reg1: int _reg2: int

◆ _set_stkoff()

"void" _set_stkoff ( self,
"sval_t" off )
protected

Parameters

off: sval_t

◆ advance()

"bool" advance ( self,
"int" delta )
Parameters
delta(C++: int)

◆ align_reg_high()

"void" align_reg_high ( self,
"size_t" size,
"size_t" _slotsize )
Parameters
size(C++: size_t)
_slotsize(C++: size_t)

◆ align_stkoff_high()

"void" align_stkoff_high ( self,
"size_t" size,
"size_t" _slotsize )
Parameters
size(C++: size_t)
_slotsize(C++: size_t)

◆ atype()

"argloc_type_t" atype ( self)

◆ calc_offset()

"sval_t" calc_offset ( self)

◆ compare()

"int" compare ( self,
"argloc_t" r )
Parameters
rargloc_t const &

Reimplemented in vdloc_t.

◆ consume_rrel()

"void" consume_rrel ( self,
"rrel_t" p )
Parameters
p(C++: rrel_t *)

◆ consume_scattered()

"void" consume_scattered ( self,
"scattered_aloc_t" p )
Parameters
p(C++: scattered_aloc_t *) scattered_aloc_t const &

◆ get_biggest()

"argloc_t.biggest_t" get_biggest ( self)

◆ get_custom()

"void *" get_custom ( self)

Use if atype() == ALOC_CUSTOM

◆ get_ea()

"ea_t" get_ea ( self)

Use when atype() == ALOC_STATIC

◆ get_reginfo()

"uint32" get_reginfo ( self)

Use when atype() == ALOC_REG1 or ALOC_REG2

◆ get_rrel()

"rrel_t const &" get_rrel ( self,
* args )

Use when atype() == ALOC_RREL

◆ has_reg()

"bool" has_reg ( self)

◆ has_stkoff()

"bool" has_stkoff ( self)

◆ in_stack()

"bool" in_stack ( self)

◆ is_badloc()

"bool" is_badloc ( self)

◆ is_custom()

"bool" is_custom ( self)

◆ is_ea()

"bool" is_ea ( self)

◆ is_fragmented()

"bool" is_fragmented ( self)

◆ is_mixed_scattered()

"bool" is_mixed_scattered ( self)

◆ is_reg()

"bool" is_reg ( self)

◆ is_reg1()

"bool" is_reg1 ( self)

◆ is_reg2()

"bool" is_reg2 ( self)

◆ is_rrel()

"bool" is_rrel ( self)

◆ is_scattered()

"bool" is_scattered ( self)

◆ is_stkoff()

"bool" is_stkoff ( self)

◆ reg1()

"int" reg1 ( self)

Use when atype() == ALOC_REG1 or ALOC_REG2

Reimplemented in vdloc_t.

◆ reg2()

"int" reg2 ( self)

Use when atype() == ALOC_REG2

◆ regoff()

"int" regoff ( self)

Use when atype() == ALOC_REG1

◆ scattered()

"scattered_aloc_t const &" scattered ( self,
* args )

Use when atype() == ALOC_DIST

◆ set_badloc()

"void" set_badloc ( self)

◆ set_ea()

"void" set_ea ( self,
"ea_t" _ea )
Parameters
_ea(C++: ea_t)

◆ set_reg1()

"void" set_reg1 ( self,
"int" reg,
"int" off = 0 )
Parameters
reg(C++: int)
off(C++: int)

Reimplemented in vdloc_t.

◆ set_reg2()

"void" set_reg2 ( self,
"int" _reg1,
"int" _reg2 )
Parameters
_reg1(C++: int)
_reg2(C++: int)

◆ set_stkoff()

"void" set_stkoff ( self,
"sval_t" off )
Parameters
off(C++: sval_t)

◆ stkoff()

"sval_t" stkoff ( self)

Use if atype() == ALOC_STACK

◆ swap()

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

Reimplemented in argpart_t.

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: