|
| __init__ (self) |
|
| __getattr__ (self, name_or_ea) |
| Allows you to call functions as if they were member functions (by returning a callable object)
|
|
| __getitem__ (self, idx) |
| Use self[func_name] syntax if the function name contains invalid characters for an attribute name See __getattr___.
|
|
|
| proto (name_or_ea, proto_or_tinfo, flags=None) |
| Allows you to instantiate an appcall (callable object) with the desired prototype.
|
|
| valueof (name, default=0) |
| Returns the numeric value of a given name string.
|
|
| int64 (v) |
| Whenever a 64bit number is needed use this method to construct an object.
|
|
| byref (val) |
| Method to create references to immutable objects Currently we support references to int/strings Objects need not be passed by reference (this will be done automatically)
|
|
| buffer (str=None, size=0, fill="\x00") |
| Creates a string buffer.
|
|
| obj (**kwds) |
| Returns an empty object or objects with attributes as passed via its keywords arguments.
|
|
| cstr (val) |
|
| UTF16 (s) |
|
| array (type_name) |
| Defines an array type.
|
|
| typedobj (typedecl_or_tinfo, ea=None) |
| Returns an appcall object for a type (can be given as tinfo_t object or as a string declaration) One can then use retrieve() member method.
|
|
| set_appcall_options (opt) |
| Method to change the Appcall options globally (not per Appcall)
|
|
| get_appcall_options () |
| Return the global Appcall options.
|
|
| cleanup_appcall (tid=0) |
| Equivalent to IDC's CleanupAppcall()
|
|
|
| Consts = property(__get_consts) |
|
◆ __init__()
◆ __getattr__()
__getattr__ |
( |
| self, |
|
|
| name_or_ea ) |
◆ __getitem__()
__getitem__ |
( |
| self, |
|
|
| idx ) |
◆ array()
Later you need to pack() / unpack()
◆ buffer()
buffer |
( |
| str = None, |
|
|
| size = 0, |
|
|
| fill = "\x00" ) |
|
static |
The returned value (r) will be a byref object. Use r.value to get the contents and r.size to get the buffer's size
◆ byref()
◆ cleanup_appcall()
cleanup_appcall |
( |
| tid = 0 | ) |
|
|
static |
◆ cstr()
◆ get_appcall_options()
◆ int64()
◆ obj()
◆ proto()
proto |
( |
| name_or_ea, |
|
|
| proto_or_tinfo, |
|
|
| flags = None ) |
|
static |
- Parameters
-
name_or_ea | The name of the function (will be resolved with LocByName()) |
proto_or_tinfo | function prototype as a string or type of the function as tinfo_t object |
- Returns
- : - On failure it raises an exception if the prototype could not be parsed or the address is not resolvable
- Returns a callbable Appcall instance with the given prototypes and flags
◆ set_appcall_options()
set_appcall_options |
( |
| opt | ) |
|
|
static |
◆ typedobj()
typedobj |
( |
| typedecl_or_tinfo, |
|
|
| ea = None ) |
|
static |
- Parameters
-
ea | Optional parameter that later can be used to retrieve the type |
- Returns
- : Appcall object or raises ValueError exception
◆ UTF16()
◆ valueof()
valueof |
( |
| name, |
|
|
| default = 0 ) |
|
static |
If the name could not be resolved then the default value will be returned
◆ APPCALL_DEBEV
◆ APPCALL_MANUAL
◆ APPCALL_TIMEOUT
int APPCALL_TIMEOUT = 0x4 |
|
static |
◆ unicode
◆ Consts
Consts = property(__get_consts) |
|
static |
The documentation for this class was generated from the following file: