diff options
| author | Florent Monjalet <florent.monjalet@gmail.com> | 2015-11-30 15:25:27 +0100 |
|---|---|---|
| committer | Florent Monjalet <florent.monjalet@gmail.com> | 2016-01-18 14:02:31 +0100 |
| commit | 31650c36e3c079445fe6c26fc0a40c1bd19da57d (patch) | |
| tree | ba83d10ec66a5ab61dc049a063a542a64aa3b450 /test/analysis/mem.py | |
| parent | 3c8d4335d26a33d3e14be83ef8b1d7ceed3ad769 (diff) | |
| download | miasm-31650c36e3c079445fe6c26fc0a40c1bd19da57d.tar.gz miasm-31650c36e3c079445fe6c26fc0a40c1bd19da57d.zip | |
MemStruct: Global doc update
Diffstat (limited to '')
| -rw-r--r-- | test/analysis/mem.py | 4 |
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())), |