about summary refs log tree commit diff stats
path: root/example
diff options
context:
space:
mode:
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)