Handbook
Glossary
segment_command
Vocabulary
macho
Definition
USING:
alien.c-types
classes.struct
;
IN:
macho
STRUCT:
segment_command
{
cmd
uint
initial:
0
}
{
cmdsize
uint
initial:
0
}
{
segname char[16]
}
{
vmaddr
uint
initial:
0
}
{
vmsize
uint
initial:
0
}
{
fileoff
uint
initial:
0
}
{
filesize
uint
initial:
0
}
{
maxprot
vm_prot_t
initial:
0
}
{
initprot
vm_prot_t
initial:
0
}
{
nsects
uint
initial:
0
}
{
flags
uint
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
macho
;
M:
segment_command
clone
clone-underlying
\
segment_command
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
macho
;
M:
segment_command
struct-slot-values
{
[
cmd>>
]
[
cmdsize>>
]
[
segname>>
]
[
vmaddr>>
]
[
vmsize>>
]
[
fileoff>>
]
[
filesize>>
]
[
maxprot>>
]
[
initprot>>
]
[
nsects>>
]
[
flags>>
]
}
cleave>array
;
inline