Handbook
Glossary
elf-section-name ( elf: Elf32/64_Ehdr header: Elf32/64_Shdr -- name: string )
Vocabulary
elf
Inputs
elf
a
Elf32/64_Ehdr
header
a
Elf32/64_Shdr
Outputs
name
a
string
Definition
USING:
accessors
alien
alien.strings
io.encodings.ascii
kernel
typed
;
IN:
elf
TYPED::
elf-section-name
( elf: Elf32/64_Ehdr header: Elf32/64_Shdr -- name: string )
elf elf
e_shstrndx>>
elf-section-data-by-index
nip
>c-ptr
:>
section-names header
sh_name>>
section-names
<displaced-alien>
ascii
alien>string
;