Section64

data class Section64(source)

Represents a 64-bit section structure within a Mach-O segment.

Corresponds to the native C structure struct section_64.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The virtual memory address where this section begins.

Link copied to clipboard
val align: UInt

Byte alignment of this section, specified as a power of two. For example, value 3 means 8-byte alignment (2^3).

Link copied to clipboard

Type and attributes of this section. Lower 8 bits = section type, upper 24 bits = flags.

Link copied to clipboard

Number of relocation entries for this section.

Link copied to clipboard

The offset in the file where this section's data begins.

Link copied to clipboard

File offset of the first relocation entry for this section.

Link copied to clipboard

Reserved field, usage depends on section type.

Link copied to clipboard

Reserved field, usage depends on section type.

Link copied to clipboard

Reserved field for 64-bit only (e.g., used in __thread_vars, etc.).

Link copied to clipboard

The name of the section (fixed-length 16-byte ASCII string). Usually begins with __, such as __text, __data.

Link copied to clipboard

The name of the segment this section belongs to.

Link copied to clipboard
val size: ULong

The size in bytes of virtual memory occupied by this section.