Python jitter Core #. More...
Public Member Functions | |
def | __init__ |
def | load |
def | func_read |
def | func_write |
def | jitirblocs |
def | jit_call |
def | set_options |
def | add_disassembly_splits |
def | remove_disassembly_splits |
def | load |
def | get_bloc_min_max |
def | add_bloc_to_mem_interval |
def | add_bloc |
def | disbloc |
def | runbloc |
def | blocs2memrange |
def | del_bloc_in_range |
def | updt_automod_code |
def | automod_cb |
Static Public Attributes | |
jitted_block_delete_cb = None | |
int | jitted_block_max_size = 10000 |
Python jitter Core #.
Definition at line 49 of file jitcore_python.py.
def miasm2.jitter.jitcore_python.JitCore_Python.__init__ | ( | self, | |
ir_arch, | |||
bs = None |
|||
) |
Definition at line 52 of file jitcore_python.py.
|
inherited |
|
inherited |
Definition at line 85 of file jitcore.py.
|
inherited |
The disassembly engine will stop on address in args if they are not at the block beginning
Definition at line 64 of file jitcore.py.
|
inherited |
Definition at line 260 of file jitcore.py.
|
inherited |
Return an interval instance standing for blocs addresses @blocs: list of asm_bloc instances
Definition at line 183 of file jitcore.py.
|
inherited |
Find and remove jitted bloc in range [ad1, ad2]. Return the list of bloc removed. @ad1: First address @ad2: Last address
Definition at line 207 of file jitcore.py.
|
inherited |
def miasm2.jitter.jitcore_python.JitCore_Python.func_read | ( | self, | |
expr_mem | |||
) |
Memory read wrapper for symbolic execution @expr_mem: ExprMem
Definition at line 68 of file jitcore_python.py.
def miasm2.jitter.jitcore_python.JitCore_Python.func_write | ( | self, | |
symb_exec, | |||
dest, | |||
data, | |||
mem_cache | |||
) |
Memory read wrapper for symbolic execution @symb_exec: symbexec instance @dest: ExprMem instance @data: Expr instance @mem_cache: dict
Definition at line 79 of file jitcore_python.py.
|
inherited |
Definition at line 78 of file jitcore.py.
def miasm2.jitter.jitcore_python.JitCore_Python.jit_call | ( | self, | |
label, | |||
cpu, | |||
vmmngr, | |||
_breakpoints | |||
) |
Call the function label with cpu and vmmngr states @label: function's label @cpu: JitCpu instance @vm: VmMngr instance
Definition at line 186 of file jitcore_python.py.
def miasm2.jitter.jitcore_python.JitCore_Python.jitirblocs | ( | self, | |
label, | |||
irblocs | |||
) |
Create a python function corresponding to an irblocs' group. @label: the label of the irblocs @irblocs: a gorup of irblocs
Definition at line 102 of file jitcore_python.py.
def miasm2.jitter.jitcore_python.JitCore_Python.load | ( | self | ) |
Definition at line 57 of file jitcore_python.py.
|
inherited |
Definition at line 73 of file jitcore.py.
|
inherited |
The disassembly engine will no longer stop on address in args
Definition at line 69 of file jitcore.py.
|
inherited |
Run the bloc starting at lbl. @cpu: JitCpu instance @vm: VmMngr instance @lbl: target label
Definition at line 164 of file jitcore.py.
|
inherited |
Definition at line 59 of file jitcore.py.
|
inherited |
Remove code jitted in range self.addr_mod @vm: VmMngr instance
Definition at line 251 of file jitcore.py.
|
inherited |
Definition at line 49 of file jitcore.py.
|
inherited |
Definition at line 50 of file jitcore.py.
|
inherited |
Definition at line 54 of file jitcore.py.
|
inherited |
Definition at line 51 of file jitcore.py.
|
inherited |
Definition at line 38 of file jitcore.py.
miasm2.jitter.jitcore_python.JitCore_Python.cpu |
Definition at line 196 of file jitcore_python.py.
|
inherited |
Definition at line 52 of file jitcore.py.
miasm2.jitter.jitcore_python.JitCore_Python.ir_arch |
Definition at line 55 of file jitcore_python.py.
|
inherited |
Definition at line 48 of file jitcore.py.
|
staticinherited |
Definition at line 28 of file jitcore.py.
|
staticinherited |
Definition at line 29 of file jitcore.py.
|
inherited |
Definition at line 47 of file jitcore.py.
|
inherited |
Definition at line 39 of file jitcore.py.
|
inherited |
Definition at line 42 of file jitcore.py.
|
inherited |
Definition at line 40 of file jitcore.py.
|
inherited |
Definition at line 43 of file jitcore.py.
|
inherited |
Definition at line 45 of file jitcore.py.
|
inherited |
Definition at line 44 of file jitcore.py.
|
inherited |
Definition at line 56 of file jitcore.py.
|
inherited |
Definition at line 46 of file jitcore.py.
|
inherited |
Definition at line 53 of file jitcore.py.
miasm2.jitter.jitcore_python.JitCore_Python.symbexec |
Definition at line 54 of file jitcore_python.py.