diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-12-04 16:19:15 +0100 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-12-07 11:10:53 +0100 |
| commit | 5199091c6f87305b82ecd6f290db82b00439bd3b (patch) | |
| tree | 6b50cd47a07f1c0d93ad08f514f50fba28ebcd44 /test/ir/analysis.py | |
| parent | f35887530e7a49f67dc49f14dccd048ff6b99c8e (diff) | |
| download | miasm-5199091c6f87305b82ecd6f290db82b00439bd3b.tar.gz miasm-5199091c6f87305b82ecd6f290db82b00439bd3b.zip | |
IRA: ira parent class is now miasm2.ir.ir::ir
Diffstat (limited to 'test/ir/analysis.py')
| -rwxr-xr-x | test/ir/analysis.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/ir/analysis.py b/test/ir/analysis.py index 92aa4aba..b18d1633 100755 --- a/test/ir/analysis.py +++ b/test/ir/analysis.py @@ -2,7 +2,7 @@ from miasm2.expression.expression import ExprId, ExprInt32, ExprAff, ExprMem from miasm2.core.asmbloc import asm_label from miasm2.ir.analysis import ira -from miasm2.ir.ir import ir, irbloc +from miasm2.ir.ir import irbloc a = ExprId("a") b = ExprId("b") @@ -52,11 +52,13 @@ class Arch(object): def getsp(self, _): return sp -class IRATest(ir, ira): +class IRATest(ira): + + """Fake IRA class for tests""" def __init__(self, symbol_pool=None): arch = Arch() - ir.__init__(self, arch, 32, symbol_pool) + super(IRATest, self).__init__(arch, 32, symbol_pool) self.IRDst = pc self.ret_reg = r |