about summary refs log tree commit diff stats
path: root/test/analysis/mem.py
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2015-11-30 15:25:27 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:02:31 +0100
commit31650c36e3c079445fe6c26fc0a40c1bd19da57d (patch)
treeba83d10ec66a5ab61dc049a063a542a64aa3b450 /test/analysis/mem.py
parent3c8d4335d26a33d3e14be83ef8b1d7ceed3ad769 (diff)
downloadmiasm-31650c36e3c079445fe6c26fc0a40c1bd19da57d.tar.gz
miasm-31650c36e3c079445fe6c26fc0a40c1bd19da57d.zip
MemStruct: Global doc update
Diffstat (limited to '')
-rw-r--r--test/analysis/mem.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/analysis/mem.py b/test/analysis/mem.py
index 90022fe9..b6664cd2 100644
--- a/test/analysis/mem.py
+++ b/test/analysis/mem.py
@@ -23,7 +23,9 @@ class MyStruct(PinnedStruct):
         # Number field: just struct.pack fields with one value
         ("num", Num("I")),
         ("flags", Num("B")),
-        # TODO: comment
+        # This field is a pointer to another struct, it has a numeric
+        # value (mystruct.other.val) and can be dereferenced to get an
+        # OtherStruct instance (mystruct.other.deref)
         ("other", Ptr("I", OtherStruct)),
         # Ptr to a variable length String
         ("s", Ptr("I", Str())),