miasm
Reverse engineering framework
|
Public Member Functions | |
def | __init__ (self, loc_db, *args, **kwargs) |
def | ir_archbloc_fix_regs_for_mode (self, irblock, attrib=64) |
def | push_uint64_t (self, value) |
def | pop_uint64_t (self) |
def | get_stack_arg (self, index) |
def | init_run (self, *args, **kwargs) |
def | func_args_stdcall (self, n_args) |
def | func_prepare_stdcall (self, ret_addr, *args) |
def | func_ret_stdcall (self, ret_addr, ret_value=None) |
def | get_arg_n_systemv (self, index) |
def | func_args_systemv (self, n_args) |
def | func_prepare_systemv (self, ret_addr, *args) |
def | syscall_args_systemv (self, n_args) |
def | syscall_ret_systemv (self, value) |
Public Member Functions inherited from miasm.jitter.jitload.Jitter | |
def | __init__ (self, ir_arch, jit_type="gcc") |
def | init_exceptions_handler (self) |
def | add_breakpoint (self, addr, callback) |
def | set_breakpoint (self, addr, *args) |
def | get_breakpoint (self, addr) |
def | remove_breakpoints_by_callback (self, callback) |
def | remove_breakpoints_by_address (self, address) |
def | add_exception_handler (self, flag, callback) |
def | run_at (self, pc) |
def | runiter_once (self, pc) |
def | init_run (self, pc) |
def | continue_run (self, step=False, trace=False) |
def | run (self, addr) |
def | run_until (self, addr, trace=False) |
def | init_stack (self) |
def | get_exception (self) |
def | get_c_str (self, addr, max_char=None) |
def | set_c_str (self, addr, value) |
def | get_str_ansi (self, addr, max_char=None) |
def | get_str_unic (self, addr, max_char=None) |
def | handle_function (self, f_addr) |
def | add_lib_handler (self, libs, user_globals=None) |
def | eval_expr (self, expr) |
def | set_trace_log (self, trace_instr=True, trace_regs=True, trace_new_blocks=False) |
Public Attributes | |
orig_irbloc_fix_regs_for_mode | |
pc | |
Public Attributes inherited from miasm.jitter.jitload.Jitter | |
arch | |
attrib | |
vm | |
cpu | |
ir_arch | |
bs | |
ircfg | |
symbexec | |
jit | |
stack_size | |
stack_base | |
breakpoints_handler | |
exceptions_handler | |
exec_cb | |
pc | |
run_iterator | |
run | |
libs | |
user_globals | |
Static Public Attributes | |
C_Gen = x86_64_CGen | |
list | args_regs_systemv = ['RDI', 'RSI', 'RDX', 'RCX', 'R8', 'R9'] |
list | args_regs_stdcall = ['RCX', 'RDX', 'R8', 'R9'] |
def | func_args_cdecl = func_args_stdcall |
def | func_ret_cdecl = func_ret_stdcall |
def | func_prepare_cdecl = func_prepare_stdcall |
def | func_ret_systemv = func_ret_cdecl |
Static Public Attributes inherited from miasm.jitter.jitload.Jitter | |
C_Gen = CGen | |
Additional Inherited Members | |
Static Public Member Functions inherited from miasm.jitter.jitload.Jitter | |
def | handle_lib (jitter) |
def miasm.arch.x86.jit.jitter_x86_64.__init__ | ( | self, | |
loc_db, | |||
* | args, | ||
** | kwargs | ||
) |
def miasm.arch.x86.jit.jitter_x86_64.func_args_stdcall | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.func_args_systemv | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.func_prepare_stdcall | ( | self, | |
ret_addr, | |||
* | args | ||
) |
def miasm.arch.x86.jit.jitter_x86_64.func_prepare_systemv | ( | self, | |
ret_addr, | |||
* | args | ||
) |
def miasm.arch.x86.jit.jitter_x86_64.func_ret_stdcall | ( | self, | |
ret_addr, | |||
ret_value = None |
|||
) |
def miasm.arch.x86.jit.jitter_x86_64.get_arg_n_systemv | ( | self, | |
index | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.get_stack_arg | ( | self, | |
index | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.init_run | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def miasm.arch.x86.jit.jitter_x86_64.ir_archbloc_fix_regs_for_mode | ( | self, | |
irblock, | |||
attrib = 64 |
|||
) |
def miasm.arch.x86.jit.jitter_x86_64.pop_uint64_t | ( | self | ) |
def miasm.arch.x86.jit.jitter_x86_64.push_uint64_t | ( | self, | |
value | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.syscall_args_systemv | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_64.syscall_ret_systemv | ( | self, | |
value | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
miasm.arch.x86.jit.jitter_x86_64.orig_irbloc_fix_regs_for_mode |
miasm.arch.x86.jit.jitter_x86_64.pc |