Public Member Functions | |
def | __init__ |
def | push_uint64_t |
def | pop_uint64_t |
def | get_stack_arg |
def | func_args_stdcall |
def | func_ret_stdcall |
def | get_arg_n_stdcall |
def | init_run |
def | init_exceptions_handler |
def | add_breakpoint |
def | set_breakpoint |
def | remove_breakpoints_by_callback |
def | add_exception_handler |
def | runbloc |
def | runiter_once |
def | init_run |
def | continue_run |
def | init_stack |
def | get_exception |
def | get_str_ansi |
def | get_str_unic |
def | set_str_ansi |
def | set_str_unic |
def | handle_function |
def | add_lib_handler |
Static Public Member Functions | |
def | handle_lib |
Public Attributes | |
pc | |
arch | |
attrib | |
vm | |
cpu | |
bs | |
ir_arch | |
jit | |
stack_size | |
stack_base | |
breakpoints_handler | |
exceptions_handler | |
exec_cb | |
run_iterator | |
run | |
libs | |
user_globals | |
Static Public Attributes | |
int | max_reg_arg = 8 |
def miasm2.arch.aarch64.jit.jitter_aarch64l.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
|
inherited |
Add a callback associated with addr. @addr: breakpoint address @callback: function with definition (jitter instance)
Definition at line 257 of file jitload.py.
|
inherited |
Add a callback associated with an exception flag. @flag: bitflag @callback: function with definition (jitter instance)
Definition at line 281 of file jitload.py.
|
inherited |
Add a function to handle libs call with breakpoints @libs: libimp instance @user_globals: dictionnary for defined user function
Definition at line 424 of file jitload.py.
|
inherited |
PRE: init_run. Continue the run of the current session until iterator returns or run is set to False. If step is True, run only one time. Return the iterator value
Definition at line 336 of file jitload.py.
def miasm2.arch.aarch64.jit.jitter_aarch64l.func_args_stdcall | ( | self, | |
n_args | |||
) |
def miasm2.arch.aarch64.jit.jitter_aarch64l.func_ret_stdcall | ( | self, | |
ret_addr, | |||
ret_value = None |
|||
) |
def miasm2.arch.aarch64.jit.jitter_aarch64l.get_arg_n_stdcall | ( | self, | |
n | |||
) |
|
inherited |
Definition at line 365 of file jitload.py.
def miasm2.arch.aarch64.jit.jitter_aarch64l.get_stack_arg | ( | self, | |
n | |||
) |
|
inherited |
Get ansi str from vm. @addr: address in memory @max_char: maximum len
Definition at line 369 of file jitload.py.
|
inherited |
Get unicode str from vm. @addr: address in memory @max_char: maximum len
Definition at line 381 of file jitload.py.
|
inherited |
|
staticinherited |
Resolve the name of the function which cause the handler call. Then call the corresponding handler from users callback.
Definition at line 406 of file jitload.py.
|
inherited |
Definition at line 238 of file jitload.py.
def miasm2.arch.aarch64.jit.jitter_aarch64l.init_run | ( | self, | |
args, | |||
kwargs | |||
) |
|
inherited |
Create an iterator on pc with runiter. @pc: address of code to run
Definition at line 328 of file jitload.py.
|
inherited |
Definition at line 356 of file jitload.py.
def miasm2.arch.aarch64.jit.jitter_aarch64l.pop_uint64_t | ( | self | ) |
def miasm2.arch.aarch64.jit.jitter_aarch64l.push_uint64_t | ( | self, | |
v | |||
) |
|
inherited |
Remove callbacks associated with breakpoint. @callback: callback to remove
Definition at line 273 of file jitload.py.
|
inherited |
Wrapper on JiT backend. Run the code at PC and return the next PC. @pc: address of code to run
Definition at line 288 of file jitload.py.
|
inherited |
Iterator on callbacks results on code running from PC. Check exceptions before breakpoints.
Definition at line 294 of file jitload.py.
|
inherited |
Set callbacks associated with addr. @addr: breakpoint address @args: functions with definition (jitter instance)
Definition at line 265 of file jitload.py.
|
inherited |
|
inherited |
|
inherited |
Definition at line 186 of file jitload.py.
|
inherited |
Definition at line 187 of file jitload.py.
|
inherited |
Definition at line 233 of file jitload.py.
|
inherited |
Definition at line 205 of file jitload.py.
|
inherited |
Definition at line 203 of file jitload.py.
|
inherited |
Definition at line 234 of file jitload.py.
|
inherited |
Definition at line 236 of file jitload.py.
|
inherited |
Definition at line 206 of file jitload.py.
|
inherited |
Definition at line 210 of file jitload.py.
|
inherited |
Definition at line 432 of file jitload.py.
|
static |
|
inherited |
Definition at line 334 of file jitload.py.
|
inherited |
Definition at line 332 of file jitload.py.
|
inherited |
Definition at line 229 of file jitload.py.
|
inherited |
Definition at line 228 of file jitload.py.
|
inherited |
Definition at line 433 of file jitload.py.
|
inherited |
Definition at line 202 of file jitload.py.