segments ( elf -- segments )


Vocabulary
elf

Inputs
elfan object


Outputs
segmentsan object


Definition


:: segments ( elf -- segments )
elf elf-header>> :> elf-header elf-header
elf-program-headers [| header |
elf-header header elf-segment-data
:> data elf-header header data segment boa
] { } map-as ;