diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-01-29 15:39:12 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-29 15:39:12 +0100 |
| commit | f29701d3965d2e307fb085dff0593b150001682d (patch) | |
| tree | 3924b6b59d624747a4817b62efb6ed6fa6d376fe /miasm2/arch/x86/ira.py | |
| parent | f0ceb21611c5ca5f218b21bcc2de5108bf0f9c35 (diff) | |
| parent | 69baa6b83d9a2404ea33f3d16e2b25cfb3ef7caf (diff) | |
| download | miasm-f29701d3965d2e307fb085dff0593b150001682d.tar.gz miasm-f29701d3965d2e307fb085dff0593b150001682d.zip | |
Merge pull request #478 from commial/refactor/pre_add_instr
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): |