Elf32_Shdr


Vocabulary
elf

Definition
USING: classes.struct ;

IN: elf

STRUCT: Elf32_Shdr
{ sh_name Elf32_Word initial: 0 }
{ sh_type Elf32_Word initial: 0 }
{ sh_flags Elf32_Word initial: 0 }
{ sh_addr Elf32_Addr initial: 0 }
{ sh_offset Elf32_Off initial: 0 }
{ sh_size Elf32_Word initial: 0 }
{ sh_link Elf32_Word initial: 0 }
{ sh_info Elf32_Word initial: 0 }
{ sh_addralign Elf32_Word initial: 0 }
{ sh_entsize Elf32_Word initial: 0 } ;


Methods
USING: classes.struct classes.struct.private elf kernel ;

M: Elf32_Shdr clone
clone-underlying \ Elf32_Shdr memory>struct ; inline


USING: accessors classes.struct combinators combinators.smart
elf ;

M: Elf32_Shdr struct-slot-values
[
{
[ sh_name>> ]
[ sh_type>> ]
[ sh_flags>> ]
[ sh_addr>> ]
[ sh_offset>> ]
[ sh_size>> ]
[ sh_link>> ]
[ sh_info>> ]
[ sh_addralign>> ]
[ sh_entsize>> ]
} cleave
] output>array ; inline