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