diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-10-31 19:37:18 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-10-31 19:37:18 +0100 |
| commit | 6cd63b1be787513320242a2c413d21da7db61323 (patch) | |
| tree | c473b527c54b9af6b7dabe8512ada496373a5191 | |
| parent | 9c48643d56884fdfe0c19cce9a4857dd8b246a74 (diff) | |
| download | miasm-6cd63b1be787513320242a2c413d21da7db61323.tar.gz miasm-6cd63b1be787513320242a2c413d21da7db61323.zip | |
Remove non working/useless api from ircfg
| -rw-r--r-- | miasm/ir/ir.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/miasm/ir/ir.py b/miasm/ir/ir.py index 1ddcaab5..613a4bce 100644 --- a/miasm/ir/ir.py +++ b/miasm/ir/ir.py @@ -639,16 +639,6 @@ class IRCFG(DiGraph): self.blocks[loc_key] = IRBlock(loc_key, assignblks) return modified - def get_rw(self, regs_ids=None): - """ - Calls get_rw(irb) for each block - @regs_ids : ids of registers used in IR - """ - if regs_ids is None: - regs_ids = [] - for irblock in viewvalues(self.blocks): - irblock.get_rw(regs_ids) - def _extract_dst(self, todo, done): """ Naive extraction of @todo destinations |