From b3b0b03b4a7b3e69c62bf6742c3ea582e0e78061 Mon Sep 17 00:00:00 2001 From: Florent Monjalet Date: Mon, 30 Nov 2015 15:48:09 +0100 Subject: MemStruct: Pinned* renamed back to Mem* --- example/jitter/memstruct.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'example/jitter/memstruct.py') diff --git a/example/jitter/memstruct.py b/example/jitter/memstruct.py index 77d65d17..4ddbea86 100644 --- a/example/jitter/memstruct.py +++ b/example/jitter/memstruct.py @@ -6,14 +6,14 @@ as well. """ from miasm2.analysis.machine import Machine -from miasm2.analysis.mem import PinnedStruct, Self, Void, Str, Array, Ptr, \ +from miasm2.analysis.mem import MemStruct, Self, Void, Str, Array, Ptr, \ Num, Array, set_allocator from miasm2.os_dep.common import heap # Instanciate a heap my_heap = heap() # And set it as the default memory allocator, to avoid manual allocation and -# explicit address passing to the PinnedType subclasses (like PinnedStruct) +# explicit address passing to the MemType subclasses (like MemStruct) # constructor set_allocator(my_heap.vm_alloc) @@ -22,7 +22,7 @@ set_allocator(my_heap.vm_alloc) # All the structures and methods will use the python objects but all the data # is in fact stored in the VmMngr -class ListNode(PinnedStruct): +class ListNode(MemStruct): fields = [ # The "