SegmentCommand64

Represents a LC_SEGMENT_64 load command in a 64-bit Mach-O file.

Defines a segment that maps part of the file into virtual memory at runtime. May be followed by nsects number of section_64 structures.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

File offset to the segment’s data.

Link copied to clipboard

Number of bytes occupied by the segment on disk.

Link copied to clipboard

Segment-level flags (SG_HIGHVM, SG_NORELOC, etc).

Link copied to clipboard

Initial virtual memory protections at load time.

Link copied to clipboard

Maximum virtual memory protections allowed.

Link copied to clipboard

Number of section_64 structures following this command.

Link copied to clipboard
Link copied to clipboard

Segment name (null-padded 16-byte ASCII string).

Link copied to clipboard
open override val size: UInt

Actual size of the load command as read from file.

Link copied to clipboard
Link copied to clipboard

Starting virtual memory address of the segment.

Link copied to clipboard

Size of segment in virtual memory.