Helper class to issue appcalls using a natural syntax: appcall.FunctionNameInTheDatabase(arguments, ....) or appcall"Function@8" or f8 = appcall["Function@8"] f8(arg1, arg2, ...) or o = appcall.obj() i = byref(5) appcall.funcname(arg1, i, "hello", o)  
|  | 
|  | __init__ (self, ea, tinfo_or_typestr=None, fields=None) | 
|  | Initializes an appcall with a given function ea. 
 | 
|  | 
|  | __call__ (self, *args) | 
|  | Make object callable. 
 | 
|  | 
|  | retrieve (self, src=None, flags=0) | 
|  | Unpacks a typed object from the database if an ea is given or from a string if a string was passed. 
 | 
|  | 
|  | store (self, obj, dest_ea=None, base_ea=0, flags=0) | 
|  | Packs an object into a given ea if provided or into a string if no address was passed. 
 | 
|  | 
|  | 
|  | timeout = property(__get_timeout, __set_timeout) | 
|  | 
|  | options = property(__get_options, __set_options) | 
|  | 
|  | ea = property(__get_ea, __set_ea) | 
|  | 
|  | tif = property(__get_tif) | 
|  | 
|  | size = property(__get_size) | 
|  | 
|  | type = property(__get_type) | 
|  | 
|  | fields = property(__get_fields) | 
|  | 
◆ __init__()
      
        
          | __init__ | ( |  | self, | 
        
          |  |  |  | ea, | 
        
          |  |  |  | tinfo_or_typestr = None, | 
        
          |  |  |  | fields = None ) | 
      
 
 
◆ __call__()
      
        
          | __call__ | ( |  | self, | 
        
          |  |  | * | args ) | 
      
 
 
◆ retrieve()
      
        
          | retrieve | ( |  | self, | 
        
          |  |  |  | src = None, | 
        
          |  |  |  | flags = 0 ) | 
      
 
- Parameters
- 
  
    | src | the address of the object or a string |  
 
- Returns
- : Returns a tuple of boolean and object or error number (Bool, Error | Object). 
 
 
◆ store()
      
        
          | store | ( |  | self, | 
        
          |  |  |  | obj, | 
        
          |  |  |  | dest_ea = None, | 
        
          |  |  |  | base_ea = 0, | 
        
          |  |  |  | flags = 0 ) | 
      
 
- Parameters
- 
  
    | obj | The object to pack |  | dest_ea | If packing to idb this will be the store location |  | base_ea | If packing to a buffer, this will be the base that will be used to relocate the pointers |  
 
- Returns
- : - If packing to a string then a Tuple(Boolean, packed_string or error code)
- If packing to the database then a return code is returned (0 is success) 
 
 
 
◆ ea
  
  | 
        
          | ea = property(__get_ea, __set_ea) |  | static | 
 
 
◆ fields
  
  | 
        
          | fields = property(__get_fields) |  | static | 
 
 
◆ options
  
  | 
        
          | options = property(__get_options, __set_options) |  | static | 
 
 
◆ size
  
  | 
        
          | size = property(__get_size) |  | static | 
 
 
◆ tif
  
  | 
        
          | tif = property(__get_tif) |  | static | 
 
 
◆ timeout
  
  | 
        
          | timeout = property(__get_timeout, __set_timeout) |  | static | 
 
 
◆ type
  
  | 
        
          | type = property(__get_type) |  | static | 
 
 
The documentation for this class was generated from the following file: