diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2016-06-30 13:51:07 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2016-06-30 13:51:07 -0400 |
| commit | 32153536526753edc3e80ea43512ad7ab65a3271 (patch) | |
| tree | 208293c36a235beed6eab0cbafacd1e0d7f77f64 /python/examples/instruction-iterator.py | |
| parent | 2cab9f93bdcd9f64a1df20a4f3549ef7ddd25169 (diff) | |
remove sleep from sample plugins
Diffstat (limited to 'python/examples/instruction-iterator.py')
| -rw-r--r-- | python/examples/instruction-iterator.py | 5 |
1 files changed, 1 insertions, 4 deletions
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 |
