about summary refs log tree commit diff stats
path: root/example/jitter
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2015-11-30 16:00:26 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:02:31 +0100
commitba2df16277d7d4deae118ed11e1e92cd478045ec (patch)
treecc59fe2f9fae2fd0bcf795b4268bd305d242fb41 /example/jitter
parentb3b0b03b4a7b3e69c62bf6742c3ea582e0e78061 (diff)
downloadfocaccia-miasm-ba2df16277d7d4deae118ed11e1e92cd478045ec.tar.gz
focaccia-miasm-ba2df16277d7d4deae118ed11e1e92cd478045ec.zip
MemStruct/Types: Renamed analysis.mem to core.types
Diffstat (limited to 'example/jitter')
-rw-r--r--example/jitter/types.py (renamed from example/jitter/memstruct.py)12
1 files changed, 6 insertions, 6 deletions
diff --git a/example/jitter/memstruct.py b/example/jitter/types.py
index 4ddbea86..6d8543b4 100644
--- a/example/jitter/memstruct.py
+++ b/example/jitter/types.py
@@ -1,13 +1,13 @@
 #!/usr/bin/env python
-"""This script is just a short example of common usages for miasm2.analysis.mem.
-For a more complete view of what is possible, tests/analysis/mem.py covers
+"""This script is just a short example of common usages for miasm2.core.types.
+For a more complete view of what is possible, tests/core/types.py covers
 most of the module possibilities, and the module doc gives useful information
 as well.
 """
 
 from miasm2.analysis.machine import Machine
-from miasm2.analysis.mem import MemStruct, Self, Void, Str, Array, Ptr, \
-                                Num, Array, set_allocator
+from miasm2.core.types import MemStruct, Self, Void, Str, Array, Ptr, \
+                              Num, Array, set_allocator
 from miasm2.os_dep.common import heap
 
 # Instanciate a heap
@@ -145,7 +145,7 @@ class DataStr(MemStruct):
     ]
 
 
-print "This script demonstrates a LinkedList implementation using the mem "
+print "This script demonstrates a LinkedList implementation using the types "
 print "module in the first part, and how to play with some casts in the second."
 print
 
@@ -229,6 +229,6 @@ print "See that the original array has been modified:"
 print repr(data)
 print
 
-print "See test/analysis/mem.py and the miasm2.analysis.mem module doc for "
+print "See test/core/types.py and the miasm2.core.types module doc for "
 print "more information."