diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2018-06-21 18:24:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 18:24:32 +0200 |
| commit | 81a54b95a1424da691e6bb5a9f015aefda1325d7 (patch) | |
| tree | 9185e2f1ac535c60be3b01cc99ff77ff37c5b885 /miasm2/arch/arm/arch.py | |
| parent | 02bd29be2d3fc6fc0429fa9c11ce6902bbd535f0 (diff) | |
| parent | b8d5b255bad4b03c57356c9af474e6d8a12105db (diff) | |
| download | miasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.tar.gz miasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.zip | |
Merge pull request #781 from commial/fix/code-cleaning
Code cleaning: remove useless / commented code
Diffstat (limited to 'miasm2/arch/arm/arch.py')
| -rw-r--r-- | miasm2/arch/arm/arch.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py index 17b57ba4..624642cf 100644 --- a/miasm2/arch/arm/arch.py +++ b/miasm2/arch/arm/arch.py @@ -1038,16 +1038,12 @@ class arm_op2(arm_arg): shift_kind = shift & 1 shift_type = (shift >> 1) & 3 shift >>= 3 - # print self.parent.immop.value, hex(shift), hex(shift_kind), - # hex(shift_type) if shift_kind: # shift kind is reg if shift & 1: - # log.debug('error in shift1') return False rs = shift >> 1 if rs == 0xf: - # log.debug('error in shift2') return False shift_op = regs_expr[rs] else: @@ -2155,12 +2151,10 @@ class armt_rlist_pclr(armt_rlist): reg_l = list(e.args) self.parent.pclr.value = 0 if self.parent.pp.value == 0: - # print 'push' if regs_expr[14] in reg_l: reg_l.remove(regs_expr[14]) self.parent.pclr.value = 1 else: - # print 'pop', if regs_expr[15] in reg_l: reg_l.remove(regs_expr[15]) self.parent.pclr.value = 1 |