Handbook
Glossary
elf-header ( c-ptr -- elf: Elf32/64_Ehdr )
Vocabulary
elf
Inputs
c-ptr
an
object
Outputs
elf
a
Elf32/64_Ehdr
Definition
USING:
classes.struct
kernel
typed
;
IN:
elf
TYPED:
elf-header
( c-ptr -- elf: Elf32/64_Ehdr )
dup
Elf64_Ehdr
memory>struct
dup
64-bit?
[
nip
]
[
drop
Elf32_Ehdr
memory>struct
]
if
;