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 585d86a9..e026f2fc 100644
--- a/example/ida/utils.py
+++ b/example/ida/utils.py
@@ -40,7 +40,7 @@ def guess_machine():
                         (False, 64, False): "aarch64l",
                         }
         is_armt = globals().get('armt', False)
-        is_bigendian = globals().get('bigendian', False)
+        is_bigendian = info.is_be()
         infos = (is_armt, size, is_bigendian)
         if not infos in info2machine:
             raise NotImplementedError('not fully functional')