miasm
Reverse engineering framework
miasm.arch.x86.jit.jitter_x86_32 Class Reference
Inheritance diagram for miasm.arch.x86.jit.jitter_x86_32:
Collaboration diagram for miasm.arch.x86.jit.jitter_x86_32:

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)
 

Constructor & Destructor Documentation

◆ __init__()

def miasm.arch.x86.jit.jitter_x86_32.__init__ (   self,
  loc_db,
args,
**  kwargs 
)

Member Function Documentation

◆ func_args_cdecl()

def miasm.arch.x86.jit.jitter_x86_32.func_args_cdecl (   self,
  n_args 
)
Here is the call graph for this function:

◆ func_args_fastcall()

def miasm.arch.x86.jit.jitter_x86_32.func_args_fastcall (   self,
  n_args 
)
Here is the call graph for this function:

◆ func_args_stdcall()

def miasm.arch.x86.jit.jitter_x86_32.func_args_stdcall (   self,
  n_args 
)
Here is the call graph for this function:

◆ func_prepare_fastcall()

def miasm.arch.x86.jit.jitter_x86_32.func_prepare_fastcall (   self,
  ret_addr,
args 
)
Here is the call graph for this function:

◆ func_prepare_stdcall()

def miasm.arch.x86.jit.jitter_x86_32.func_prepare_stdcall (   self,
  ret_addr,
args 
)
Here is the call graph for this function:

◆ func_ret_cdecl()

def miasm.arch.x86.jit.jitter_x86_32.func_ret_cdecl (   self,
  ret_addr,
  ret_value1 = None,
  ret_value2 = None 
)

◆ func_ret_stdcall()

def miasm.arch.x86.jit.jitter_x86_32.func_ret_stdcall (   self,
  ret_addr,
  ret_value1 = None,
  ret_value2 = None 
)

◆ get_arg_n_fastcall()

def miasm.arch.x86.jit.jitter_x86_32.get_arg_n_fastcall (   self,
  index 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_stack_arg()

def miasm.arch.x86.jit.jitter_x86_32.get_stack_arg (   self,
  index 
)
Here is the caller graph for this function:

◆ init_run()

def miasm.arch.x86.jit.jitter_x86_32.init_run (   self,
args,
**  kwargs 
)
Here is the caller graph for this function:

◆ ir_archbloc_fix_regs_for_mode()

def miasm.arch.x86.jit.jitter_x86_32.ir_archbloc_fix_regs_for_mode (   self,
  irblock,
  attrib = 64 
)

◆ pop_uint16_t()

def miasm.arch.x86.jit.jitter_x86_32.pop_uint16_t (   self)

◆ pop_uint32_t()

def miasm.arch.x86.jit.jitter_x86_32.pop_uint32_t (   self)
Here is the caller graph for this function:

◆ push_uint16_t()

def miasm.arch.x86.jit.jitter_x86_32.push_uint16_t (   self,
  value 
)

◆ push_uint32_t()

def miasm.arch.x86.jit.jitter_x86_32.push_uint32_t (   self,
  value 
)
Here is the caller graph for this function:

◆ syscall_args_systemv()

def miasm.arch.x86.jit.jitter_x86_32.syscall_args_systemv (   self,
  n_args 
)

◆ syscall_ret_systemv()

def miasm.arch.x86.jit.jitter_x86_32.syscall_ret_systemv (   self,
  value 
)

Member Data Documentation

◆ C_Gen

miasm.arch.x86.jit.jitter_x86_32.C_Gen = x86_32_CGen
static

◆ func_args_systemv

def miasm.arch.x86.jit.jitter_x86_32.func_args_systemv = func_args_cdecl
static

◆ func_prepare_systemv

def miasm.arch.x86.jit.jitter_x86_32.func_prepare_systemv = func_prepare_stdcall
static

◆ func_ret_systemv

def miasm.arch.x86.jit.jitter_x86_32.func_ret_systemv = func_ret_cdecl
static

◆ get_arg_n_cdecl

def miasm.arch.x86.jit.jitter_x86_32.get_arg_n_cdecl = get_stack_arg
static

◆ get_arg_n_stdcall

def miasm.arch.x86.jit.jitter_x86_32.get_arg_n_stdcall = get_stack_arg
static

◆ get_arg_n_systemv

def miasm.arch.x86.jit.jitter_x86_32.get_arg_n_systemv = get_stack_arg
static

◆ orig_irbloc_fix_regs_for_mode

miasm.arch.x86.jit.jitter_x86_32.orig_irbloc_fix_regs_for_mode

◆ pc

miasm.arch.x86.jit.jitter_x86_32.pc

The documentation for this class was generated from the following file: