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 254617ba..c66475f2 100644
--- a/example/ida/utils.py
+++ b/example/ida/utils.py
@@ -98,7 +98,7 @@ class TranslatorIDA(Translator):
 
     def from_ExprLoc(self, expr):
         if self.loc_db is not None:
-            out = self.loc_db.str_loc_key(expr.loc_key)
+            out = self.loc_db.pretty_str(expr.loc_key)
         else:
             out = str(expr)
         out = idaapi.COLSTR(out, idaapi.SCOLOR_REG)