Function
elf_memory() is used to process an ELF file or
ar(1) archive whose image is present in memory.
Argument
image points to the start of the memory image of the file or archive. Argument
size contains the size in bytes of the memory image.
The ELF descriptor is created for reading (i.e., analogous to the use of
elf_begin(3) with a command argument value of
ELF_C_READ).