about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-04-13 19:16:52 +0200
committerGitHub <noreply@github.com>2020-04-13 19:16:52 +0200
commit20a8bc7fcd6de75c218be32296003daa9ec902f5 (patch)
treef56b4584b95fcbf111e2d7b2e8bc835463806646
parent69d03f48c902e7e686efecb3a6b6d37ea3265fb8 (diff)
parentdc4b627e6d4eeacc78784783e9eb39a8450dd688 (diff)
downloadmiasm-20a8bc7fcd6de75c218be32296003daa9ec902f5.tar.gz
miasm-20a8bc7fcd6de75c218be32296003daa9ec902f5.zip
Merge pull request #1177 from nofiv/patch-2
Minor improvement in rebuild_edges
-rw-r--r--miasm/core/asmblock.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/miasm/core/asmblock.py b/miasm/core/asmblock.py
index abd2b2c6..93ad6b13 100644
--- a/miasm/core/asmblock.py
+++ b/miasm/core/asmblock.py
@@ -628,6 +628,7 @@ class AsmCFG(DiGraph):
         This method should be called if a block's '.bto' in nodes have been
         modified without notifying this instance to resynchronize edges.
         """
+        self._pendings = {}
         for block in self.blocks:
             edges = []
             # Rebuild edges from bto