Module idaapi :: Class insn_t
[frames] | no frames]

Class insn_t

           object --+        
                    |        
pyidc_opaque_object_t --+    
                        |    
      py_clinked_object_t --+
                            |
                           insn_t

Class representing instructions

Instance Methods
 
__init__(self, lnk=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
assign(self, other)
Copies the contents of 'other' to 'self'
 
__getitem__(self, idx)
Operands can be accessed directly as indexes
 
is_macro(self)
 
is_canon_insn(self)
 
get_canon_feature(self)
 
get_canon_mnem(self)
 
__get_cs__(self)
 
__set_cs__(self, v)
 
__get_ip__(self)
 
__set_ip__(self, v)
 
__get_ea__(self)
 
__set_ea__(self, v)
 
__get_itype__(self)
 
__set_itype__(self, v)
 
__get_size__(self)
 
__set_size__(self, v)
 
__get_auxpref__(self)
 
__set_auxpref__(self, v)
 
__get_segpref__(self)
 
__set_segpref__(self, v)
 
__get_insnpref__(self)
 
__set_insnpref__(self, v)
 
__get_flags__(self)
 
__set_flags__(self, v)

Inherited from py_clinked_object_t: __del__, copy

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables
  cs = property(__get_cs__, __set_cs__)
  ip = property(__get_ip__, __set_ip__)
  ea = property(__get_ea__, __set_ea__)
  itype = property(__get_itype__, __set_itype__)
  size = property(__get_size__, __set_size__)
  auxpref = property(__get_auxpref__, __set_auxpref__)
  segpref = property(__get_segpref__, __set_segpref__)
  insnpref = property(__get_insnpref__, __set_insnpref__)
  flags = property(__get_flags__, __set_flags__)

Inherited from py_clinked_object_t: clink

Inherited from pyidc_opaque_object_t: __idc_cvt_id__

Properties

Inherited from object: __class__

Method Details

__init__(self, lnk=None)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

assign(self, other)

 

Copies the contents of 'other' to 'self'

Returns:
Boolean
Overrides: py_clinked_object_t.assign