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/arm-syscall.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'python/examples/arm-syscall.py') 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: -- cgit v1.3.1