miasm
Reverse engineering framework
example_types.py File Reference

Classes

class  example_types.ListNode
 
class  example_types.LinkedList
 
class  example_types.DataArray
 
class  example_types.DataStr
 

Namespaces

 example_types
 

Variables

 example_types.loc_db = LocationDB()
 
 example_types.my_heap = heap()
 
 example_types.jitter = Machine("x86_32").jitter(loc_db, "python")
 
 example_types.vm = jitter.vm
 
 example_types.link = LinkedList(vm)
 
 example_types.raw_size
 
 example_types.real_data = data.cast(DataArray)
 
 example_types.data = link.pop(DataArray)
 
 example_types.arrayptr
 
 example_types.datastr = data.cast(DataStr)
 
 example_types.val1
 
 example_types.val2
 
 example_types.valshort
 
 example_types.memstr = datastr.data.deref
 
 example_types.val
 
string example_types.raw_miams = 'Miams'.encode('utf-16le') + b'\x00'*2
 
list example_types.raw_miams_array = [ord(c) for c in iterbytes(raw_miams)]
 
 example_types.argv_t = Array(Ptr("<I", Str()), 4)
 
 example_types.argv = argv_t.lval(vm)
 
 example_types.MemStrAnsi = Str().lval