From 32153536526753edc3e80ea43512ad7ab65a3271 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 30 Jun 2016 13:51:07 -0400 Subject: remove sleep from sample plugins --- python/examples/instruction-iterator.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'python/examples/instruction-iterator.py') diff --git a/python/examples/instruction-iterator.py b/python/examples/instruction-iterator.py index 7b03b095..43bc000e 100644 --- a/python/examples/instruction-iterator.py +++ b/python/examples/instruction-iterator.py @@ -21,10 +21,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 -- cgit v1.3.1