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_uint16_t (self, value) |
def | pop_uint16_t (self) |
def | push_uint32_t (self, value) |
def | pop_uint32_t (self) |
def | get_stack_arg (self, index) |
def | init_run (self, *args, **kwargs) |
def | func_args_stdcall (self, n_args) |
def | func_ret_stdcall (self, ret_addr, ret_value1=None, ret_value2=None) |
def | func_prepare_stdcall (self, ret_addr, *args) |
def | func_args_cdecl (self, n_args) |
def | func_ret_cdecl (self, ret_addr, ret_value1=None, ret_value2=None) |
def | func_args_fastcall (self, n_args) |
def | func_prepare_fastcall (self, ret_addr, *args) |
def | get_arg_n_fastcall (self, index) |
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_32_CGen | |
def | get_arg_n_stdcall = get_stack_arg |
def | get_arg_n_cdecl = get_stack_arg |
def | func_args_systemv = func_args_cdecl |
def | func_ret_systemv = func_ret_cdecl |
def | func_prepare_systemv = func_prepare_stdcall |
def | get_arg_n_systemv = get_stack_arg |
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_32.__init__ | ( | self, | |
loc_db, | |||
* | args, | ||
** | kwargs | ||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_args_cdecl | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_args_fastcall | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_args_stdcall | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_prepare_fastcall | ( | self, | |
ret_addr, | |||
* | args | ||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_prepare_stdcall | ( | self, | |
ret_addr, | |||
* | args | ||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_ret_cdecl | ( | self, | |
ret_addr, | |||
ret_value1 = None , |
|||
ret_value2 = None |
|||
) |
def miasm.arch.x86.jit.jitter_x86_32.func_ret_stdcall | ( | self, | |
ret_addr, | |||
ret_value1 = None , |
|||
ret_value2 = None |
|||
) |
def miasm.arch.x86.jit.jitter_x86_32.get_arg_n_fastcall | ( | self, | |
index | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.get_stack_arg | ( | self, | |
index | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.init_run | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
def miasm.arch.x86.jit.jitter_x86_32.ir_archbloc_fix_regs_for_mode | ( | self, | |
irblock, | |||
attrib = 64 |
|||
) |
def miasm.arch.x86.jit.jitter_x86_32.pop_uint16_t | ( | self | ) |
def miasm.arch.x86.jit.jitter_x86_32.pop_uint32_t | ( | self | ) |
def miasm.arch.x86.jit.jitter_x86_32.push_uint16_t | ( | self, | |
value | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.push_uint32_t | ( | self, | |
value | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.syscall_args_systemv | ( | self, | |
n_args | |||
) |
def miasm.arch.x86.jit.jitter_x86_32.syscall_ret_systemv | ( | self, | |
value | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
miasm.arch.x86.jit.jitter_x86_32.orig_irbloc_fix_regs_for_mode |
miasm.arch.x86.jit.jitter_x86_32.pc |