Lines Matching defs:image
199 elf_memory(char *image, size_t sz)
220 elf->ed_image = elf->ed_ident = image;
223 elf->ed_class = image[EI_CLASS];
224 elf->ed_encode = image[EI_DATA];
225 if ((elf->ed_version = image[EI_VERSION]) == 0)
239 * Return a new elf_descriptor which uses the memory image from
240 * ref as the base image of the elf file. Before this elf_begin()
245 * data image of the file in question.
251 * descriptor then the memory image that the ELF_C_IMAGE
257 * elf_update(elf1, ELF_C_WRIMAGE); build memory image
261 * elf_updage(elf1, ELF_C_WRITE); flush memory image to disk
272 * which will build a memory image instead of a file image.
273 * The memory image is allocated via dynamic memory (malloc) and
279 * memory image if it is still allocated. It is then
287 * elf_update(elf1, ELF_C_WRIMAGE); build memory image
290 * image_ptr = elf32_getehdr(elf2); get pointer to image
294 * use image
322 char *image;
325 if ((image = ref->ed_wrimage) == 0) {
332 return (elf_memory(image, imagesz));