about summary refs log tree commit diff stats
path: root/example/ida/graph_ir.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-12-24 20:29:39 +0100
committerGitHub <noreply@github.com>2020-12-24 20:29:39 +0100
commit53735e8cd23aa4bc1eed641264de3b9d18692103 (patch)
treed00eca211174dcef32971e271f307721a1217a40 /example/ida/graph_ir.py
parent40d150d0089494d07dd5e10bc7625df41fbf3f68 (diff)
parent73e54732e50b405762c64e0faa032e5ae0fcd1ed (diff)
downloadmiasm-53735e8cd23aa4bc1eed641264de3b9d18692103.tar.gz
miasm-53735e8cd23aa4bc1eed641264de3b9d18692103.zip
Merge pull request #1326 from serpilliere/rename_lifter
Rename lifter
Diffstat (limited to 'example/ida/graph_ir.py')
-rw-r--r--example/ida/graph_ir.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/example/ida/graph_ir.py b/example/ida/graph_ir.py
index d10e1ebd..c827bbe2 100644
--- a/example/ida/graph_ir.py
+++ b/example/ida/graph_ir.py
@@ -180,9 +180,9 @@ def is_addr_ro_variable(bs, addr, size):
 
 def build_graph(start_addr, type_graph, simplify=False, use_ida_stack=True, dontmodstack=False, loadint=False, verbose=False):
     machine = guess_machine(addr=start_addr)
-    dis_engine, ira = machine.dis_engine, machine.ira
+    dis_engine, lifter_model_call = machine.dis_engine, machine.lifter_model_call
 
-    class IRADelModCallStack(ira):
+    class IRADelModCallStack(lifter_model_call):
         def call_effects(self, addr, instr):
             assignblks, extra = super(IRADelModCallStack, self).call_effects(addr, instr)
             if use_ida_stack:
@@ -281,7 +281,7 @@ def build_graph(start_addr, type_graph, simplify=False, use_ida_stack=True, dont
         return
 
 
-    class IRAOutRegs(ira):
+    class IRAOutRegs(lifter_model_call):
         def get_out_regs(self, block):
             regs_todo = super(IRAOutRegs, self).get_out_regs(block)
             out = {}