about summary refs log tree commit diff stats
path: root/miasm2/ir/ir.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/ir/ir.py')
-rw-r--r--miasm2/ir/ir.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py
index f31db76b..64eb3463 100644
--- a/miasm2/ir/ir.py
+++ b/miasm2/ir/ir.py
@@ -765,7 +765,7 @@ class IntermediateRepresentation(object):
             for dst in self.dst_trackback(block):
                 if dst.is_int():
                     dst_lbl = self.symbol_pool.getby_offset_create(int(dst))
-                    dst = m2_expr.ExprId(dst_lbl)
+                    dst = m2_expr.ExprId(dst_lbl, self.pc.size)
                 if expr_is_label(dst):
                     self._graph.add_edge(lbl, dst.name)