summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--suite/testcommon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py
index 79581d79..091f967c 100644
--- a/suite/testcommon.py
+++ b/suite/testcommon.py
@@ -1115,6 +1115,7 @@ class VerifyBuilder(Builder):
bv.functions[0].set_comment(bv.functions[0].start, "Function start")
bv.commit_undo_actions()
+ bv.update_analysis_and_wait()
comments = self.get_comments(bv)
functions = self.get_functions(bv)
@@ -1126,6 +1127,7 @@ class VerifyBuilder(Builder):
bv.create_user_function(bv.start)
bv.commit_undo_actions()
+ bv.update_analysis_and_wait()
bv.create_database(temp_name)
with binja.FileMetadata(temp_name).open_existing_database(temp_name).get_view_of_type('ELF') as bv: