Handbook
Glossary
sections ( obj -- sections )
Vocabulary
elf
Inputs
obj
an
object
Outputs
sections
an
object
Definition
IN:
elf
GENERIC:
sections
( obj -- sections )
Methods
USING:
accessors
assocs
elf
kernel
;
M::
elf
sections
( elf -- sections )
elf
elf-header>>
:>
elf-header elf-header
elf-sections
[|
name header |
elf-header header
elf-section-data
:>
data name elf-header header data
section
boa
]
{
}
assoc>map
;
USING:
accessors
elf
kernel
sequences
;
M::
segment
sections
( segment -- sections )
segment
program-header>>
:>
program-header segment
elf-header>>
:>
elf-header program-header elf-header
elf-section-headers
elf-segment-sections
[|
header |
elf-header header
elf-section-name
:>
name elf-header header
elf-section-data
:>
data name elf-header header data
section
boa
]
{
}
map-as
;