diff options
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index 844bc59c..e9bf3588 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -371,6 +371,15 @@ void BinaryView::NotifyDataRemoved(uint64_t offset, uint64_t len) } +string BinaryView::GetTypeName() const +{ + char* str = BNGetViewType(m_view); + string result = str; + BNFreeString(str); + return result; +} + + bool BinaryView::IsModified() const { return BNIsViewModified(m_view); |
