about summary refs log tree commit diff stats
path: root/example/ida/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'example/ida/utils.py')
-rw-r--r--example/ida/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/utils.py b/example/ida/utils.py
index 4f4f01fe..a64973f1 100644
--- a/example/ida/utils.py
+++ b/example/ida/utils.py
@@ -105,7 +105,7 @@ class TranslatorIDA(Translator):
         return out
 
     def from_ExprMem(self, expr):
-        ptr = self.from_expr(expr.arg)
+        ptr = self.from_expr(expr.ptr)
         size = idaapi.COLSTR('@' + str(expr.size), idaapi.SCOLOR_RPTCMT)
         out = '%s[%s]' % (size, ptr)
         return out