about summary refs log tree commit diff stats
path: root/example/jitter
diff options
context:
space:
mode:
authorFlorent Monjalet <florent.monjalet@gmail.com>2015-12-05 14:44:23 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:02:32 +0100
commit36cae74bff4674396b35a208bc7ac57f0d4e2b6b (patch)
treeab3283475b760fd3c84d5571749d03f9fac23b72 /example/jitter
parent76a25bd0d2e49ac1923821d16464588cd61ce0e7 (diff)
downloadmiasm-36cae74bff4674396b35a208bc7ac57f0d4e2b6b.tar.gz
miasm-36cae74bff4674396b35a208bc7ac57f0d4e2b6b.zip
Types: Type size is now a property
Diffstat (limited to 'example/jitter')
-rw-r--r--example/jitter/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/types.py b/example/jitter/types.py
index 6c0b59af..e714372c 100644
--- a/example/jitter/types.py
+++ b/example/jitter/types.py
@@ -171,7 +171,7 @@ link.push(DataArray(vm))
 assert link.size == 3
 # If you get it directly from the VM, it is updated as well
 raw_size = vm.get_mem(link.get_addr("size"), link.get_type()
-                                                 .get_field_type("size").size())
+                                                 .get_field_type("size").size)
 assert raw_size == '\x03\x00\x00\x00'
 
 print "The linked list just built:"