diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-12-24 00:10:03 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-12-24 00:10:03 +0100 |
| commit | b681bdf9ffee707e071d4d2b601130ca8d66a5fa (patch) | |
| tree | 9a6be1b10d9be53e00e1a364943654bb99d970eb | |
| parent | 745199e77104ef7a1e5879daae5e344de24165ca (diff) | |
| download | miasm-b681bdf9ffee707e071d4d2b601130ca8d66a5fa.tar.gz miasm-b681bdf9ffee707e071d4d2b601130ca8d66a5fa.zip | |
Fix propagate undef
Let A and B undef. If we have: X = [A] X and [A] can be set in the same equivalence class (even if A and B are undef)
| -rw-r--r-- | miasm/analysis/data_flow.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/miasm/analysis/data_flow.py b/miasm/analysis/data_flow.py index 0a96ae8d..4f369965 100644 --- a/miasm/analysis/data_flow.py +++ b/miasm/analysis/data_flow.py @@ -1971,10 +1971,6 @@ class State(object): if not self.propagation_allowed(src): continue - ## Dont create equivalence if dependence on undef - if dst.is_mem() and self.may_interfer(self.undefined, dst.ptr): - continue - self.undefined.discard(dst) if dst in self.equivalence_classes.nodes(): self.equivalence_classes.del_element(dst) |