miasm
Reverse engineering framework
|
Functions | |
def | cb_x86_callpop (mdis, cur_bloc, offset_to_dis) |
Variables | |
tuple | shellcode |
machine = Machine("x86_32") | |
loc_db = LocationDB() | |
cont = Container.from_string(shellcode, loc_db) | |
mdis = machine.dis_engine(cont.bin_stream, loc_db=loc_db) | |
asmcfg = mdis.dis_multiblock(0) | |
dis_block_callback | |
asmcfg_after = mdis.dis_multiblock(0) | |
def callback.cb_x86_callpop | ( | mdis, | |
cur_bloc, | |||
offset_to_dis | |||
) |
1000: call 1005 1005: pop Will give: 1000: push 1005 1005: pop
callback.asmcfg = mdis.dis_multiblock(0) |
callback.asmcfg_after = mdis.dis_multiblock(0) |
callback.cont = Container.from_string(shellcode, loc_db) |
callback.dis_block_callback |
callback.loc_db = LocationDB() |
callback.machine = Machine("x86_32") |