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-24 19:14:23 +0100
committerFlorent Monjalet <florent.monjalet@gmail.com>2016-01-18 14:02:31 +0100
commit82fa0e423f7f3f0d33c7ca9b32029d0022c31dec (patch)
tree44c9ff025aa6737ee17296a65d967aa6a061a2e7 /example/jitter
parent7192718eeba19d4b96f8cd59d31d8b0c865cc67c (diff)
downloadmiasm-82fa0e423f7f3f0d33c7ca9b32029d0022c31dec.tar.gz
miasm-82fa0e423f7f3f0d33c7ca9b32029d0022c31dec.zip
MemStruct: Fix MemStruct __eq__
Diffstat (limited to 'example/jitter')
-rw-r--r--example/jitter/memstruct.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/jitter/memstruct.py b/example/jitter/memstruct.py
index f2e9f8dc..775b3643 100644
--- a/example/jitter/memstruct.py
+++ b/example/jitter/memstruct.py
@@ -184,7 +184,7 @@ assert link.size == 2
 # Make the Array Ptr point to the data's array field
 data.arrayptr = data.get_addr("array")
 # Now the pointer dereference is equal to the array field's value
-assert data.deref_arrayptr == data.array
+assert data.deref_arrayptr.value == data.array
 
 # Let's say that it is a DataStr:
 datastr = data.cast(DataStr)