diff options
| author | Ajax <commial@gmail.com> | 2015-11-16 15:43:03 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-11-16 15:54:35 +0100 |
| commit | 110d4ae7a17f32730fd996099cacb494fc95e136 (patch) | |
| tree | 7551fb458b72246cd6dd6e51f6c209b87ce974c9 /miasm2/core/sembuilder.py | |
| parent | c0826fefbbcd00c60f0e9f27dcac92c98fcb9d8e (diff) | |
| download | miasm-110d4ae7a17f32730fd996099cacb494fc95e136.tar.gz miasm-110d4ae7a17f32730fd996099cacb494fc95e136.zip | |
SemBuilder: allow alias (re-assignment of a declared var)
Diffstat (limited to '')
| -rw-r--r-- | miasm2/core/sembuilder.py | 1 |
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() |