Handbook
Glossary
section
Vocabulary
macho
Definition
USING:
alien.c-types
classes.struct
;
IN:
macho
STRUCT:
section
{
sectname char[16]
}
{
segname char[16]
}
{
addr
uint
initial:
0
}
{
size
uint
initial:
0
}
{
offset
uint
initial:
0
}
{
align
uint
initial:
0
}
{
reloff
uint
initial:
0
}
{
nreloc
uint
initial:
0
}
{
flags
uint
initial:
0
}
{
reserved1
uint
initial:
0
}
{
reserved2
uint
initial:
0
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
macho
;
M:
section
clone
clone-underlying
\
section
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
macho
;
M:
section
struct-slot-values
{
[
sectname>>
]
[
segname>>
]
[
addr>>
]
[
size>>
]
[
offset>>
]
[
align>>
]
[
reloff>>
]
[
nreloc>>
]
[
flags>>
]
[
reserved1>>
]
[
reserved2>>
]
}
cleave>array
;
inline