diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-10-23 12:39:33 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-10-23 17:37:33 -0400 |
| commit | bd3d79d51267975a9ff2167bb6731222e9618c27 (patch) | |
| tree | 59c1b71e9958048ac2c77aaddfddc0f8a9b2bb93 /binaryview.cpp | |
| parent | 62e450721a5487402522a458e88a93d82e6d3d6f (diff) | |
Add API to bulk add segments, use it in elf view
Diffstat (limited to 'binaryview.cpp')
| -rw-r--r-- | binaryview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp index d2dbee56..7bd9cec8 100644 --- a/binaryview.cpp +++ b/binaryview.cpp @@ -4733,6 +4733,12 @@ void BinaryView::AddAutoSegment( } +void BinaryView::AddAutoSegments(const vector<BNSegmentInfo>& segments) +{ + BNAddAutoSegments(m_object, segments.data(), segments.size()); +} + + void BinaryView::RemoveAutoSegment(uint64_t start, uint64_t length) { BNRemoveAutoSegment(m_object, start, length); |
