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