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

Proxy of C++ lvars_t class.

Inheritance diagram for lvars_t:
qvector_lvar_t

Public Member Functions

"int" find_input_lvar (self, "vdloc_t" argloc, "int" _size)
 find_input_lvar(self, argloc, _size) -> int Find an input variable at the specified location.
 
"int" find_input_reg (self, "int" reg, "int" _size=1)
 find_input_reg(self, reg, _size=1) -> int Find an input register variable.
 
"int" find_stkvar (self, "sval_t" spoff, "int" width)
 find_stkvar(self, spoff, width) -> int Find a stack variable at the specified location.
 
"lvar_t *" find (self, "lvar_locator_t" ll)
 find(self, ll) -> lvar_t Find a variable at the specified location.
 
"int" find_lvar (self, "vdloc_t" location, "int" width, "int" defblk=-1)
 find_lvar(self, location, width, defblk=-1) -> int Find a variable at the specified location.
 
 __init__ (self)
 init(self) -> lvars_t
 
- Public Member Functions inherited from qvector_lvar_t
"lvar_t &" push_back (self, *args)
 push_back(self, x)
 
"void" pop_back (self)
 pop_back(self)
 
"size_t" size (self)
 size(self) -> size_t
 
"bool" empty (self)
 empty(self) -> bool
 
"lvar_t const &" at (self, "size_t" _idx)
 at(self, _idx) -> lvar_t
 
"void" qclear (self)
 qclear(self)
 
"void" clear (self)
 clear(self)
 
"void" resize (self, *args)
 resize(self, _newsize, x)
 
"void" grow (self, *args)
 grow(self, x=lvar_t())
 
"size_t" capacity (self)
 capacity(self) -> size_t
 
"void" reserve (self, "size_t" cnt)
 reserve(self, cnt)
 
"void" truncate (self)
 truncate(self)
 
"void" swap (self, "qvector_lvar_t" r)
 swap(self, r)
 
"lvar_t *" extract (self)
 extract(self) -> lvar_t
 
"void" inject (self, "lvar_t" s, "size_t" len)
 inject(self, s, len)
 
"bool" __eq__ (self, "qvector_lvar_t" r)
 eq(self, r) -> bool
 
"bool" __ne__ (self, "qvector_lvar_t" r)
 ne(self, r) -> bool
 
"qvector< lvar_t >::const_iterator" begin (self, *args)
 begin(self) -> lvar_t
 
"qvector< lvar_t >::const_iterator" end (self, *args)
 end(self) -> lvar_t
 
"qvector< lvar_t >::iterator" insert (self, "lvar_t" it, "lvar_t" x)
 insert(self, it, x) -> lvar_t
 
"qvector< lvar_t >::iterator" erase (self, *args)
 erase(self, it) -> lvar_t
 
"bool" has (self, "lvar_t" x)
 has(self, x) -> bool
 
"bool" add_unique (self, "lvar_t" x)
 add_unique(self, x) -> bool
 
"size_t" __len__ (self)
 len(self) -> size_t
 
"lvar_t const &" __getitem__ (self, "size_t" i)
 getitem(self, i) -> lvar_t
 
"void" __setitem__ (self, "size_t" i, "lvar_t" v)
 setitem(self, i, v)
 
"void" append (self, "lvar_t" x)
 append(self, x)
 
"void" extend (self, "qvector_lvar_t" x)
 extend(self, x)
 

Properties

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

Additional Inherited Members

- Static Public Attributes inherited from qvector_lvar_t
 front = ida_idaapi._qvector_front
 
 back = ida_idaapi._qvector_back
 
- Protected Member Functions inherited from qvector_lvar_t
"bool" _del (self, "lvar_t" x)
 _del(self, x) -> bool
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self)

Reimplemented from qvector_lvar_t.

Member Function Documentation

◆ find()

"lvar_t *" find ( self,
"lvar_locator_t" ll )
Parameters
ll(C++: const lvar_locator_t &) variable location
Returns
: pointer to variable or nullptr

Reimplemented from qvector_lvar_t.

◆ find_input_lvar()

"int" find_input_lvar ( self,
"vdloc_t" argloc,
"int" _size )
Parameters
argloc(C++: const vdloc_t &) variable location
_size(C++: int) variable size in bytes
Returns
: -1 if failed, otherwise an index into 'vars'

◆ find_input_reg()

"int" find_input_reg ( self,
"int" reg,
"int" _size = 1 )
Parameters
reg(C++: int) register to find
_size(C++: int) variable size in bytes
Returns
: -1 if failed, otherwise an index into 'vars'

◆ find_lvar()

"int" find_lvar ( self,
"vdloc_t" location,
"int" width,
"int" defblk = -1 )
Parameters
location(C++: const vdloc_t &) variable location
width(C++: int) variable size in bytes
defblk(C++: int) definition block of the lvar. -1 means any block
Returns
: -1 if failed, otherwise an index into 'vars'

◆ find_stkvar()

"int" find_stkvar ( self,
"sval_t" spoff,
"int" width )
Parameters
spoff(C++: sval_t) offset from the minimal sp
width(C++: int) variable size in bytes
Returns
: -1 if failed, otherwise an index into 'vars'

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: