Lines Matching refs:Segment
155 // A segment in a Mach-O file. All these fields have been byte-swapped as
157 struct Segment {
159 // created this Segment.
161 ByteBuffer section_list; // This segment's section list.
162 ByteBuffer contents; // This segment's contents.
164 // This segment's name.
167 // The address at which this segment should be loaded in memory. If
171 // The size of this segment when loaded into memory. This may be larger
177 // The maximum and initial VM protection of this segment's contents.
184 // Flags describing this segment, from SegmentFlags.
200 // The name of the segment this section belongs to.
277 // The LC_SEGMENT or LC_SEGMENT_64 load command for the segment named
282 // The segment named |name| claims that its contents lie beyond the end
286 // The section named |section| in the segment named |segment| claims that
287 // its contents do not lie entirely within the segment.
289 const string &segment);
303 // A handler for sections parsed from a segment. The WalkSegmentSections
305 // each section defined in a given segment.
310 // Called to report that the segment's section list contains |section|.
343 // The load command is LC_SEGMENT or LC_SEGMENT_64, defining a segment
344 // with the properties given in |segment|.
345 virtual bool SegmentCommand(const Segment &segment) {
402 // Set |segment| to describe the segment named |name|, if present. If
403 // found, |segment|'s byte buffers refer to a subregion of the bytes
406 bool FindSegment(const string &name, Segment *segment) const;
408 // Apply |handler| to each section defined in |segment|. If |handler| returns
411 bool WalkSegmentSections(const Segment &segment, SectionHandler *handler)
415 // in |segment|, from section names to Section structures.
416 // Each Section's contents refer to bytes in |segment|'s contents.
418 bool MapSegmentSections(const Segment &segment