From d2371c2edabb7d70c2b31150bfa0e46d7acd1e5e Mon Sep 17 00:00:00 2001 From: kat Date: Wed, 12 Mar 2025 18:54:51 -0400 Subject: Add API for BinaryView::FinalizeNewSegments --- binaryview.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binaryview.cpp') diff --git a/binaryview.cpp b/binaryview.cpp index f37057e3..9f439f24 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -1791,6 +1791,11 @@ bool BinaryView::Save(const string& path) return BNSaveToFilename(m_object, path.c_str()); } +bool BinaryView::FinalizeNewSegments() +{ + return BNBinaryViewFinalizeNewSegments(m_object); +} + void BinaryView::DefineRelocation(Architecture* arch, BNRelocationInfo& info, uint64_t target, uint64_t reloc) { -- cgit v1.3.1