about summary refs log tree commit diff stats
path: root/test/analysis/depgraph.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-04-03 18:31:58 +0200
committerGitHub <noreply@github.com>2020-04-03 18:31:58 +0200
commit998eefd60f183ccef30ae247353f75c6e1918a47 (patch)
treef83bb9bf25bbe346f2b0a834e4a5da7d9e535dca /test/analysis/depgraph.py
parent7266729107dbbe6d93cae88bdeffd6e72f3f4c69 (diff)
parent3644ef26b43014dccf3937769d644202a78c218b (diff)
downloadmiasm-998eefd60f183ccef30ae247353f75c6e1918a47.tar.gz
miasm-998eefd60f183ccef30ae247353f75c6e1918a47.zip
Merge pull request #1173 from serpilliere/fix_int_export_vm_cpu
Fix int export vm cpu
Diffstat (limited to 'test/analysis/depgraph.py')
-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)