Handbook
Glossary
elf-program-headers ( elf: Elf32/64_Ehdr -- headers: Elf32/64_Phdr-array )
Vocabulary
elf
Inputs
elf
a
Elf32/64_Ehdr
Outputs
headers
a
Elf32/64_Phdr-array
Definition
USING:
accessors
alien
alien.data
kernel
typed
;
IN:
elf
TYPED::
elf-program-headers
( elf: Elf32/64_Ehdr -- headers: Elf32/64_Phdr-array )
elf
[
e_phoff>>
]
[
e_phnum>>
]
bi
:>
( off num ) off elf
>c-ptr
<displaced-alien>
num elf
64-bit?
Elf64_Phdr
Elf32_Phdr
?
<c-direct-array>
;