about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2020-12-07 18:05:15 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2020-12-24 17:15:46 +0100
commita989e0fa062d3513e92c57009111ce05b3c79b81 (patch)
treed144dee185fec27eb41fe0bdede153467b52fcd5
parent83ba16dd4d12251188e60ed45528c9768e76d682 (diff)
downloadmiasm-a989e0fa062d3513e92c57009111ce05b3c79b81.tar.gz
miasm-a989e0fa062d3513e92c57009111ce05b3c79b81.zip
Rename LifterModelCallPpc32b
-rw-r--r--miasm/analysis/machine.py4
-rw-r--r--miasm/arch/ppc/lifter_model_call.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/miasm/analysis/machine.py b/miasm/analysis/machine.py
index c8ae0a5c..47d88731 100644
--- a/miasm/analysis/machine.py
+++ b/miasm/analysis/machine.py
@@ -176,8 +176,8 @@ class Machine(object):
             except ImportError:
                 pass
             mn = arch.mn_ppc
-            from miasm.arch.ppc.lifter_model_call import ir_a_ppc32b as lifter_model_call
-            from miasm.arch.ppc.sem import Lifter_PPC32b as ir
+            from miasm.arch.ppc.lifter_model_call import LifterModelCallPpc32b as lifter_model_call
+            from miasm.arch.ppc.sem import Lifter_PPC32b as lifter
         elif machine_name == "mepb":
             from miasm.arch.mep.disasm import dis_mepb as dis_engine
             from miasm.arch.mep import arch
diff --git a/miasm/arch/ppc/lifter_model_call.py b/miasm/arch/ppc/lifter_model_call.py
index 8e8aa63d..06691190 100644
--- a/miasm/arch/ppc/lifter_model_call.py
+++ b/miasm/arch/ppc/lifter_model_call.py
@@ -4,10 +4,10 @@ from miasm.ir.analysis import LifterModelCall
 from miasm.arch.ppc.sem import Lifter_PPC32b
 
 
-class ir_a_ppc32b(Lifter_PPC32b, LifterModelCall):
+class LifterModelCallPpc32b(Lifter_PPC32b, LifterModelCall):
 
     def __init__(self, loc_db, *args):
-        super(ir_a_ppc32b, self).__init__(loc_db, *args)
+        super(LifterModelCallPpc32b, self).__init__(loc_db, *args)
         self.ret_reg = self.arch.regs.R3
 
     # for test XXX TODO