about summary refs log tree commit diff stats
path: root/test/analysis/depgraph.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2020-04-03 14:47:55 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2020-04-03 15:07:36 +0200
commit3644ef26b43014dccf3937769d644202a78c218b (patch)
treef83bb9bf25bbe346f2b0a834e4a5da7d9e535dca /test/analysis/depgraph.py
parente47d3f973bae44a504b8f8dc9df3b32ea6298178 (diff)
downloadmiasm-3644ef26b43014dccf3937769d644202a78c218b.tar.gz
miasm-3644ef26b43014dccf3937769d644202a78c218b.zip
Fix int(expr)
Diffstat (limited to '')
-rw-r--r--test/analysis/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py
index 69b93f69..eb6507dc 100644
--- a/test/analysis/depgraph.py
+++ b/test/analysis/depgraph.py
@@ -748,7 +748,7 @@ def flatNode(node):
         if isinstance(node.element, ExprId):
             element = node.element.name
         elif isinstance(node.element, ExprInt):
-            element = int(node.element.arg)
+            element = int(node.element)
         else:
             RuntimeError("Unsupported type '%s'" % type(enode.element))
         names = loc_db.get_location_names(node.loc_key)