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