diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-04-03 14:47:55 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-04-03 15:07:36 +0200 |
| commit | 3644ef26b43014dccf3937769d644202a78c218b (patch) | |
| tree | f83bb9bf25bbe346f2b0a834e4a5da7d9e535dca /test/analysis/depgraph.py | |
| parent | e47d3f973bae44a504b8f8dc9df3b32ea6298178 (diff) | |
| download | miasm-3644ef26b43014dccf3937769d644202a78c218b.tar.gz miasm-3644ef26b43014dccf3937769d644202a78c218b.zip | |
Fix int(expr)
Diffstat (limited to '')
| -rw-r--r-- | test/analysis/depgraph.py | 2 |
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) |