about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
authorElias Bachaalany <elias.bachaalany@gmail.com>2021-11-29 13:17:24 -0800
committerElias Bachaalany <elias.bachaalany@gmail.com>2021-11-29 13:17:24 -0800
commitad79c3927b8d6bd6b610f11b24246f47679542d2 (patch)
treece03969e5d2fb347096699216aae5a8dc0a48994 /example
parent5522eb059ad5fe2b5ef0194923b3b6c24d778946 (diff)
downloadmiasm-ad79c3927b8d6bd6b610f11b24246f47679542d2.tar.gz
miasm-ad79c3927b8d6bd6b610f11b24246f47679542d2.zip
Fixed symbexec example to work for newer IDA (7.6)
Diffstat (limited to 'example')
-rw-r--r--example/ida/symbol_exec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ida/symbol_exec.py b/example/ida/symbol_exec.py
index ef5db082..e9dc0611 100644
--- a/example/ida/symbol_exec.py
+++ b/example/ida/symbol_exec.py
@@ -198,7 +198,7 @@ idaapi.register_action(action_translate)
 
 
 if __name__ == '__main__':
-    idaapi.CompileLine('static key_F3() { RunPythonStatement("symbolic_exec()"); }')
+    idaapi.compile_idc_text('static key_F3() { RunPythonStatement("symbolic_exec()"); }')
     idc.add_idc_hotkey("F3", "key_F3")
 
     print("=" * 50)