about summary refs log tree commit diff stats
path: root/example/ida/ctype_propagation.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-09-28 09:30:23 +0200
committerGitHub <noreply@github.com>2018-09-28 09:30:23 +0200
commit9c8596646ba6150694deb984f25aaad73d2c7125 (patch)
tree35e52073cea394d3e66dfa89a53d81987869abe9 /example/ida/ctype_propagation.py
parenta5ab3c338e09da5c3e2fe871f1f13e6e37464fa1 (diff)
parent846d316efab8b8b654eee58b952cdf1ba2d3eb42 (diff)
downloadmiasm-9c8596646ba6150694deb984f25aaad73d2c7125.tar.gz
miasm-9c8596646ba6150694deb984f25aaad73d2c7125.zip
Merge pull request #852 from serpilliere/fix_lgtm_2
Code cleaning: lgtm.com
Diffstat (limited to 'example/ida/ctype_propagation.py')
-rw-r--r--example/ida/ctype_propagation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/ida/ctype_propagation.py b/example/ida/ctype_propagation.py
index 3c8a745a..a3d6df8b 100644
--- a/example/ida/ctype_propagation.py
+++ b/example/ida/ctype_propagation.py
@@ -337,7 +337,7 @@ def analyse_function():
         if lbl not in ircfg.blocks:
             continue
         symbexec_engine = TypePropagationEngine(ir_arch, types_mngr, state)
-        addr = symbexec_engine.run_block_at(ircfg, lbl)
+        symbexec_engine.run_block_at(ircfg, lbl)
         symbexec_engine.del_mem_above_stack(ir_arch.sp)
 
         sons = ircfg.successors(lbl)
@@ -351,7 +351,7 @@ def analyse_function():
         if lbl not in ircfg.blocks:
             continue
         symbexec_engine = CTypeEngineFixer(ir_arch, types_mngr, state, cst_propag_link)
-        addr = symbexec_engine.run_block_at(ircfg, lbl)
+        symbexec_engine.run_block_at(ircfg, lbl)
         symbexec_engine.del_mem_above_stack(ir_arch.sp)