summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2023-10-02 11:30:02 -0400
committerBrian Potchik <brian@vector35.com>2023-10-02 11:30:02 -0400
commitc2b79f5927eaafd51fd6371a0ca1ea72a372d608 (patch)
tree40101f0efac5d4120d88dac28a818dd28ddbe593 /binaryview.cpp
parent957f151baa1f2036d9c43fa2a4638f88fe256393 (diff)
Add GetEnd to Section API.
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 db1974da..219a37e5 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -1015,6 +1015,12 @@ uint64_t Section::GetLength() const
}
+uint64_t Section::GetEnd() const
+{
+ return BNSectionGetEnd(m_object);
+}
+
+
uint64_t Section::GetInfoData() const
{
return BNSectionGetInfoData(m_object);