summaryrefslogtreecommitdiff
path: root/python/examples/bin-info.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/bin-info.py')
-rw-r--r--python/examples/bin-info.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/examples/bin-info.py b/python/examples/bin-info.py
index 6ec00bce..48073894 100644
--- a/python/examples/bin-info.py
+++ b/python/examples/bin-info.py
@@ -13,10 +13,7 @@ else:
target = "/bin/ls"
bv = binaryninja.BinaryViewType[bintype].open(target)
-bv.update_analysis()
-
-"""Until update_analysis_and_wait is complete, sleep is necessary as the analysis is multi-threaded."""
-time.sleep(1)
+bv.update_analysis_and_wait()
print "-------- %s --------" % target
print "START: 0x%x" % bv.start