summaryrefslogtreecommitdiff
path: root/python/examples/arm-syscall.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/arm-syscall.py')
-rw-r--r--python/examples/arm-syscall.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/examples/arm-syscall.py b/python/examples/arm-syscall.py
index cbd8f4bf..f94b8531 100644
--- a/python/examples/arm-syscall.py
+++ b/python/examples/arm-syscall.py
@@ -10,10 +10,7 @@ else:
raise ValueError("Missing argument to binary.")
bv = binaryninja.BinaryViewType["Mach-O"].open(target)
-bv.update_analysis()
-
-"""Until update_analysis_and_wait is complete, sleep is necessary as the analysis is multi-threaded."""
-time.sleep(5)
+bv.update_analysis_and_wait()
for func in bv.functions:
for il in func.low_level_il: