aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac/macho_reader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mac/macho_reader.h')
-rw-r--r--src/common/mac/macho_reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/mac/macho_reader.h b/src/common/mac/macho_reader.h
index 30db742d..145d17d1 100644
--- a/src/common/mac/macho_reader.h
+++ b/src/common/mac/macho_reader.h
@@ -175,6 +175,10 @@ struct Segment {
// of this value are valid.
uint64_t vmsize;
+ // The file offset and size of the segment in the Mach-O image.
+ uint64_t fileoff;
+ uint64_t filesize;
+
// The maximum and initial VM protection of this segment's contents.
uint32_t maxprot;
uint32_t initprot;