diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-25 10:42:47 +0100 |
|---|---|---|
| committer | serpilliere <fabrice.desclaux@cea.fr> | 2015-03-12 21:15:06 +0100 |
| commit | a84279657f4957fc5a7ffb4e5ef0df587984eb8a (patch) | |
| tree | e065487569c504dfe11347519c69c85e3a97bd57 /miasm2/ir/analysis.py | |
| parent | 1975191b80612098855707f984dba1f712ed02b8 (diff) | |
| download | miasm-a84279657f4957fc5a7ffb4e5ef0df587984eb8a.tar.gz miasm-a84279657f4957fc5a7ffb4e5ef0df587984eb8a.zip | |
Graph: dominators computation can only be done regarding to *one* head
The 'get_all_parents' is replaced by 'reachable_parents'
Diffstat (limited to 'miasm2/ir/analysis.py')
| -rw-r--r-- | miasm2/ir/analysis.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/ir/analysis.py b/miasm2/ir/analysis.py index 202f7631..c6fc4948 100644 --- a/miasm2/ir/analysis.py +++ b/miasm2/ir/analysis.py @@ -253,7 +253,7 @@ class ira: break if has_all_son: continue - parents = self.g.get_all_parents(node) + parents = self.g.reachable_parents(node) for parent in parents: irb = self.blocs[parent] for var_w in irb.w: |