miasm
Reverse engineering framework
unpack_upx.py File Reference

Namespaces

 unpack_upx
 

Functions

def unpack_upx.kernel32_GetProcAddress (jitter)
 
def unpack_upx.stop (jitter)
 

Variables

 unpack_upx.parser = Sandbox_Win_x86_32.parser(description="Generic UPX unpacker")
 
 unpack_upx.help
 
 unpack_upx.action
 
 unpack_upx.options = parser.parse_args()
 
 unpack_upx.load_hdr
 
 unpack_upx.loc_db = LocationDB()
 
 unpack_upx.sb
 
 unpack_upx.level
 
 unpack_upx.mdis = sb.machine.dis_engine(sb.jitter.bs, loc_db=loc_db)
 
 unpack_upx.dont_dis_nulstart_bloc
 
 unpack_upx.asmcfg = mdis.dis_multiblock(sb.entry_point)
 
 unpack_upx.leaves = list(asmcfg.get_bad_blocks())
 
 unpack_upx.l = leaves.pop()
 
 unpack_upx.end_offset = mdis.loc_db.get_location_offset(l.loc_key)
 
 unpack_upx.fname = os.path.join(bname, fname.replace('.', '_'))
 
string unpack_upx.out_fname = fname + '_unupx.bin'
 
 unpack_upx.jitter
 
 unpack_upx.libs
 
 unpack_upx.e_orig