From efd35023dde49919c2f5549d5b5d3d2d6a31b1e0 Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Sun, 22 Nov 2020 22:30:42 -0500 Subject: Fix unit test ongoing analysis message. --- suite/testcommon.py | 2 ++ 1 file changed, 2 insertions(+) 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: -- cgit v1.3.1