Handbook
Glossary
image-header.32
Vocabulary
tools
.
image
Class description
32 bit image header
Definition
USING:
alien.c-types
classes.struct
;
IN:
tools.image
STRUCT:
image-header.32
{
magic
u32
initial:
0
}
{
version
u32
initial:
0
}
{
data-relocation-base
u32
initial:
0
}
{
data-size
u32
initial:
0
}
{
code-relocation-base
u32
initial:
0
}
{
code-size
u32
initial:
0
}
{
escaped-data-size
u32
initial:
0
}
{
compressed-data-size
u32
initial:
0
}
{
compressed-code-size
u32
initial:
0
}
{
reserved-4
u32
initial:
0
}
{
special-objects u32[special-object-count]
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
tools.image
;
M:
image-header.32
clone
clone-underlying
\
image-header.32
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
tools.image
;
M:
image-header.32
struct-slot-values
{
[
magic>>
]
[
version>>
]
[
data-relocation-base>>
]
[
data-size>>
]
[
code-relocation-base>>
]
[
code-size>>
]
[
escaped-data-size>>
]
[
compressed-data-size>>
]
[
compressed-code-size>>
]
[
reserved-4>>
]
[
special-objects>>
]
}
cleave>array
;
inline