diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-12-07 18:06:11 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-12-24 17:15:46 +0100 |
| commit | 71edb62033f25a6c8548bddabb90daeb9235927c (patch) | |
| tree | 2b16c7fa1293ba4c2a4630b2157260eb55012b14 | |
| parent | a989e0fa062d3513e92c57009111ce05b3c79b81 (diff) | |
| download | miasm-71edb62033f25a6c8548bddabb90daeb9235927c.tar.gz miasm-71edb62033f25a6c8548bddabb90daeb9235927c.zip | |
Rename LifterModelCallMsp430
| -rw-r--r-- | miasm/analysis/machine.py | 4 | ||||
| -rw-r--r-- | miasm/arch/msp430/lifter_model_call.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/miasm/analysis/machine.py b/miasm/analysis/machine.py index 47d88731..4936fd26 100644 --- a/miasm/analysis/machine.py +++ b/miasm/analysis/machine.py @@ -139,8 +139,8 @@ class Machine(object): except ImportError: pass mn = arch.mn_msp430 - from miasm.arch.msp430.lifter_model_call import ir_a_msp430 as lifter_model_call - from miasm.arch.msp430.sem import Lifter_MSP430 as ir + from miasm.arch.msp430.lifter_model_call import LifterModelCallMsp430 as lifter_model_call + from miasm.arch.msp430.sem import Lifter_MSP430 as lifter try: from miasm.analysis.gdbserver import GdbServer_msp430 as gdbserver except ImportError: diff --git a/miasm/arch/msp430/lifter_model_call.py b/miasm/arch/msp430/lifter_model_call.py index 656eb320..05f649e5 100644 --- a/miasm/arch/msp430/lifter_model_call.py +++ b/miasm/arch/msp430/lifter_model_call.py @@ -5,7 +5,7 @@ from miasm.arch.msp430.sem import Lifter_MSP430 from miasm.ir.ir import AssignBlock from miasm.expression.expression import * -class ir_a_msp430_base(Lifter_MSP430, LifterModelCall): +class LifterModelCallMsp430Base(Lifter_MSP430, LifterModelCall): def __init__(self, loc_db): Lifter_MSP430.__init__(self, loc_db) @@ -21,10 +21,10 @@ class ir_a_msp430_base(Lifter_MSP430, LifterModelCall): ) return [call_assignblk], [] -class ir_a_msp430(ir_a_msp430_base): +class LifterModelCallMsp430(LifterModelCallMsp430Base): def __init__(self, loc_db): - ir_a_msp430_base.__init__(self, loc_db) + LifterModelCallMsp430Base.__init__(self, loc_db) def get_out_regs(self, _): return set([self.ret_reg, self.sp]) |