diff options
| author | Camille Mougey <commial@gmail.com> | 2015-04-29 17:05:57 +0200 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2015-04-29 17:05:57 +0200 |
| commit | 8a33f6ce86d4f9818865db44509044c12ddb2844 (patch) | |
| tree | 0e66d2f69086228174872450b1924f7e47774dce | |
| parent | 5909527443504f26bd4ab058e6f3ac5fc98598e4 (diff) | |
| parent | ac2cd2fb980ec91f7a6bc6be6b81716f210334b5 (diff) | |
| download | miasm-8a33f6ce86d4f9818865db44509044c12ddb2844.tar.gz miasm-8a33f6ce86d4f9818865db44509044c12ddb2844.zip | |
Merge pull request #155 from serpilliere/graph_clean
Graph: replace forgotten root api
| -rw-r--r-- | miasm2/core/graph.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/graph.py b/miasm2/core/graph.py index af7c3817..efb938e6 100644 --- a/miasm2/core/graph.py +++ b/miasm2/core/graph.py @@ -94,8 +94,8 @@ class DiGraph(object): if not self._nodes_pred[node]: yield node - def roots(self): - return [x for x in self.roots_iter()] + def heads(self): + return [x for x in self.heads_iter()] def find_path(self, src, dst, cycles_count=0, done=None): if done is None: |