diff options
| author | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 15:14:15 +0100 |
|---|---|---|
| committer | Camille Mougey <camille.mougey@cea.fr> | 2015-02-16 15:14:15 +0100 |
| commit | a524c6c8542fa2fe54335bcb8257e859e202124f (patch) | |
| tree | 4a39c3841e9dd8e4b12f18cf4beea02b692878eb | |
| parent | 40b340af3650ecbae8465752a368b8669b854f7f (diff) | |
| download | miasm-a524c6c8542fa2fe54335bcb8257e859e202124f.tar.gz miasm-a524c6c8542fa2fe54335bcb8257e859e202124f.zip | |
PyLint: IRBloc was an Old-Style class, dst was rewrite on `irbloc(...).dst =`
| -rw-r--r-- | miasm2/ir/ir.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py index a5144eda..73a38242 100644 --- a/miasm2/ir/ir.py +++ b/miasm2/ir/ir.py @@ -27,7 +27,7 @@ from miasm2.expression.simplifications import expr_simp from miasm2.core.asmbloc import asm_symbol_pool -class irbloc: +class irbloc(object): def __init__(self, label, irs, lines = []): assert(isinstance(label, asmbloc.asm_label)) @@ -63,7 +63,7 @@ class irbloc: i.src = value self._dst = value - dst = property(get_dst) + dst = property(get_dst, set_dst) def get_rw(self): self.r = [] |