B2R2


SegCmd Type

Segment command.

Record fields

Record Field Description

Cmd

Full Usage: Cmd

Field type: LoadCmdType
Field type: LoadCmdType

CmdSize

Full Usage: CmdSize

Field type: uint32
Field type: uint32

FileOff

Full Usage: FileOff

Field type: Addr

The offset in this file of the data to be mapped at VMAddr.

Field type: Addr

FileSize

Full Usage: FileSize

Field type: uint64

The number of bytes occupied by this segment on disk

Field type: uint64

InitProt

Full Usage: InitProt

Field type: int

The initial virtual memory protections of this segment.

Field type: int

MaxProt

Full Usage: MaxProt

Field type: int

The maximum permitted virtual memory protections of this segment

Field type: int

NumSecs

Full Usage: NumSecs

Field type: uint32

The number of section data structures following this load command.

Field type: uint32

SecOff

Full Usage: SecOff

Field type: int

The offset of the sections in the segment. If the segment has sections then the section structures directly follow the segment command and their size is in the size of the command.

Field type: int

SegCmdName

Full Usage: SegCmdName

Field type: string

Segment name.

Field type: string

SegFlag

Full Usage: SegFlag

Field type: uint32

A set of flags that affect the loading of this segment.

Field type: uint32

VMAddr

Full Usage: VMAddr

Field type: Addr

The starting virtual memory address of this segment

Field type: Addr

VMSize

Full Usage: VMSize

Field type: uint64

The number of bytes of virtual memory occupied by this segment.

Field type: uint64