diff options
| author | Ajax <commial@gmail.com> | 2017-01-19 20:53:23 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2017-01-24 13:46:38 +0100 |
| commit | 69baa6b83d9a2404ea33f3d16e2b25cfb3ef7caf (patch) | |
| tree | b3faa556710baee385981bb4c1a5227cbf391149 /miasm2/arch/x86/ira.py | |
| parent | 5ad8e8b70b1ed1ba6f38f2e4b070154e717cbd05 (diff) | |
| download | miasm-69baa6b83d9a2404ea33f3d16e2b25cfb3ef7caf.tar.gz miasm-69baa6b83d9a2404ea33f3d16e2b25cfb3ef7caf.zip | |
Let x86 'pre_add_instr' be the default behavior
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/ira.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/miasm2/arch/x86/ira.py b/miasm2/arch/x86/ira.py index d772d9fc..31d38b37 100644 --- a/miasm2/arch/x86/ira.py +++ b/miasm2/arch/x86/ira.py @@ -31,15 +31,6 @@ class ir_a_x86_16(ir_x86_16, ira): for b in leaves: self.set_dead_regs(b) - def pre_add_instr(self, block, instr, irb_cur, ir_blocks_all, gen_pc_update): - if not instr.is_subcall(): - return irb_cur - call_effects = self.call_effects(instr.args[0], instr) - for assignblk in call_effects: - irb_cur.irs.append(assignblk) - irb_cur.lines.append(instr) - return None - class ir_a_x86_32(ir_x86_32, ir_a_x86_16): def __init__(self, symbol_pool=None): |