summaryrefslogtreecommitdiff
path: root/binaryview.cpp
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-12-14 18:46:10 -0500
committerPeter LaFosse <peter@vector35.com>2017-12-14 18:46:10 -0500
commitb207c76729df133c7b6fc4bc9f1abb6948ae6438 (patch)
tree9c074cac9450392c13b7afeedd9c440b54a7f88b /binaryview.cpp
parentae5ce4da4c1f6ea3a071a4eec1a5da3e6e2a3305 (diff)
Add autoDefined attribute to Sections and Segments
Diffstat (limited to 'binaryview.cpp')
-rw-r--r--binaryview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 0a082458..50011a0f 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -1724,6 +1724,7 @@ vector<Segment> BinaryView::GetSegments()
segment.dataOffset = segments[i].dataOffset;
segment.dataLength = segments[i].dataLength;
segment.flags = segments[i].flags;
+ segment.autoDefined = segments[i].autoDefined;
result.push_back(segment);
}
@@ -1731,7 +1732,6 @@ vector<Segment> BinaryView::GetSegments()
return result;
}
-
bool BinaryView::GetSegmentAt(uint64_t addr, Segment& result)
{
BNSegment segment;