summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2018-06-26 23:10:10 -0400
committerBrian Potchik <brian@vector35.com>2018-06-26 23:10:10 -0400
commit02cedcd92ab8ac054e82ed1c72d9e0107aecf2ae (patch)
tree6d7ac36f4125b6b44a8b6c8d38904222b9464766
parent32135f39bf80a08fd42dcf0fd03bd699b3b1b6db (diff)
Fix pushing segment autodefined member through the C++ API.
-rw-r--r--binaryview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryview.cpp b/binaryview.cpp
index 0a9a7118..9aaf3595 100644
--- a/binaryview.cpp
+++ b/binaryview.cpp
@@ -1776,6 +1776,7 @@ bool BinaryView::GetSegmentAt(uint64_t addr, Segment& result)
result.dataOffset = segment.dataOffset;
result.dataLength = segment.dataLength;
result.flags = segment.flags;
+ result.autoDefined = segment.autoDefined;
return true;
}