diff options
| author | Ajax <commial@gmail.com> | 2015-12-07 11:25:04 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-12-07 11:25:04 +0100 |
| commit | d95af9858230c41449d6fd487a93bdc337780ea7 (patch) | |
| tree | 2c65f005adb7830853664451aed3f2cd05a9be73 | |
| parent | aacc2b4f42beeb822e98febce065041d9ab41568 (diff) | |
| download | miasm-d95af9858230c41449d6fd487a93bdc337780ea7.tar.gz miasm-d95af9858230c41449d6fd487a93bdc337780ea7.zip | |
IR: Rebuild graph on `add_node`
| -rw-r--r-- | miasm2/ir/ir.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py index 04f964d6..f957fcab 100644 --- a/miasm2/ir/ir.py +++ b/miasm2/ir/ir.py @@ -343,6 +343,8 @@ class ir(object): self.blocs[irb.label] = irb + # Forget graph if any + self._graph = None def get_instr_label(self, instr): """Returns the label associated to an instruction |