diff options
| author | Florent Monjalet <florent.monjalet@gmail.com> | 2015-11-18 23:54:34 +0100 |
|---|---|---|
| committer | Florent Monjalet <florent.monjalet@gmail.com> | 2016-01-18 14:02:31 +0100 |
| commit | 496b4f181501e85bee38c078b8e63c0ab6d40600 (patch) | |
| tree | f8678f4d071dfdad6daae68e2c24496cd9694d45 /test/analysis/mem.py | |
| parent | a089dad25524bd8b173974169576d843f651fd52 (diff) | |
| download | miasm-496b4f181501e85bee38c078b8e63c0ab6d40600.tar.gz miasm-496b4f181501e85bee38c078b8e63c0ab6d40600.zip | |
MemStruct: module and MemFields documentation
+ minor fixes/refactors
Diffstat (limited to '')
| -rw-r--r-- | test/analysis/mem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/analysis/mem.py b/test/analysis/mem.py index 9eba8fca..df1df9bc 100644 --- a/test/analysis/mem.py +++ b/test/analysis/mem.py @@ -20,10 +20,10 @@ class OtherStruct(MemStruct): class MyStruct(MemStruct): fields = [ - # Integer field: just struct.pack fields with one value + # Number field: just struct.pack fields with one value ("num", Num("I")), ("flags", Num("B")), - # Ptr fields are Int, but they can also be dereferenced + # Ptr fields are Num, but they can also be dereferenced # (self.deref_<field>). Deref can be read and set. ("other", Ptr("I", OtherStruct)), # Ptr to a variable length String |