From 4001cc72efdce25c72870ccbf35557291570c571 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 7 Dec 2018 13:11:53 +0100 Subject: Example: fix exprmem ptr access --- example/ida/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ida/utils.py') 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 -- cgit 1.4.1