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

Proxy of C++ argpart_t class.

Inheritance diagram for argpart_t:
argloc_t

Public Member Functions

 __init__ (self, *args)
 init(self, a) -> argpart_t
 
"bool" bad_offset (self)
 bad_offset(self) -> bool Does this argpart have a valid offset?
 
"bool" bad_size (self)
 bad_size(self) -> bool Does this argpart have a valid size?
 
"bool" __lt__ (self, "argpart_t" r)
 lt(self, r) -> bool
 
"void" swap (self, "argpart_t" r)
 swap(self, r) Assign this = r and r = this.
 
- Public Member Functions inherited from argloc_t
"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" __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.
 

Static Public Attributes

str off = property(_ida_typeinf.argpart_t_off_get, _ida_typeinf.argpart_t_off_set, doc=)
 
str size = property(_ida_typeinf.argpart_t_size_get, _ida_typeinf.argpart_t_size_set, doc=)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 
- Properties inherited from argloc_t
 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Additional Inherited Members

- Protected Member Functions inherited from argloc_t
"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)
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
* args )
Parameters
aargloc_t const &

init(self) -> argpart_t

Reimplemented from argloc_t.

Member Function Documentation

◆ __lt__()

"bool" __lt__ ( self,
"argpart_t" r )
Parameters
rargpart_t const &

Reimplemented from argloc_t.

◆ bad_offset()

"bool" bad_offset ( self)

◆ bad_size()

"bool" bad_size ( self)

◆ swap()

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

Reimplemented from argloc_t.

Member Data Documentation

◆ off

str off = property(_ida_typeinf.argpart_t_off_get, _ida_typeinf.argpart_t_off_set, doc=)
static

◆ size

str size = property(_ida_typeinf.argpart_t_size_get, _ida_typeinf.argpart_t_size_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: