about summary refs log tree commit diff stats
path: root/miasm2/core/sembuilder.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/core/sembuilder.py')
-rw-r--r--miasm2/core/sembuilder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm2/core/sembuilder.py b/miasm2/core/sembuilder.py
index 8be3fb12..01b815e3 100644
--- a/miasm2/core/sembuilder.py
+++ b/miasm2/core/sembuilder.py
@@ -152,6 +152,7 @@ class SemBuilder(object):
                     # Real variable declaration
                     statement.value = src
                     real_body.append(statement)
+                    self._ctx[dst.id] = src
                     continue
 
                 dst.ctx = ast.Load()