summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-10-25 16:42:20 -0400
committerPeter LaFosse <peter@vector35.com>2022-11-10 16:19:13 -0500
commitc37a23621c640686772615b33efffd84ef0793f5 (patch)
tree7b0da8b50fb9620028bb8db4347e3ab3eef878a9 /binaryview.cpp
parent2e74d0a19579c8f5dee38c5b8a7660549746146b (diff)
Prevent applying two different debug infoes at the same time
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 71b3d6f0..e78333d5 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -2581,6 +2581,12 @@ void BinaryView::SetDebugInfo(Ref<DebugInfo> newDebugInfo)
}
+bool BinaryView::IsApplyingDebugInfo() const
+{
+ return BNIsApplyingDebugInfo(m_object);
+}
+
+
void BinaryView::BeginBulkModifySymbols()
{
BNBeginBulkModifySymbols(m_object);