Home | History | Annotate | Download | only in libelf

Lines Matching refs:ehdr_mem

110   } ehdr_mem;
125 ehdr.p = &ehdr_mem;
131 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
132 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
135 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
139 CONVERT (ehdr_mem.e32.e_shnum);
140 CONVERT (ehdr_mem.e32.e_shoff);
147 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
148 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff;
151 memcpy (&ehdr_mem, e_ident, sizeof (Elf64_Ehdr));
155 CONVERT (ehdr_mem.e64.e_shnum);
156 CONVERT (ehdr_mem.e64.e_shoff);
365 elf->state.elf32.ehdr = memcpy (&elf->state.elf32.ehdr_mem, e_ident,
370 CONVERT (elf->state.elf32.ehdr_mem.e_type);
371 CONVERT (elf->state.elf32.ehdr_mem.e_machine);
372 CONVERT (elf->state.elf32.ehdr_mem.e_version);
373 CONVERT (elf->state.elf32.ehdr_mem.e_entry);
374 CONVERT (elf->state.elf32.ehdr_mem.e_phoff);
375 CONVERT (elf->state.elf32.ehdr_mem.e_shoff);
376 CONVERT (elf->state.elf32.ehdr_mem.e_flags);
377 CONVERT (elf->state.elf32.ehdr_mem.e_ehsize);
378 CONVERT (elf->state.elf32.ehdr_mem.e_phentsize);
379 CONVERT (elf->state.elf32.ehdr_mem.e_phnum);
380 CONVERT (elf->state.elf32.ehdr_mem.e_shentsize);
381 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
382 CONVERT (elf->state.elf32.ehdr_mem.e_shstrndx);
451 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident,
456 CONVERT (elf->state.elf64.ehdr_mem.e_type);
457 CONVERT (elf->state.elf64.ehdr_mem.e_machine);
458 CONVERT (elf->state.elf64.ehdr_mem.e_version);
459 CONVERT (elf->state.elf64.ehdr_mem.e_entry);
460 CONVERT (elf->state.elf64.ehdr_mem.e_phoff);
461 CONVERT (elf->state.elf64.ehdr_mem.e_shoff);
462 CONVERT (elf->state.elf64.ehdr_mem.e_flags);
463 CONVERT (elf->state.elf64.ehdr_mem.e_ehsize);
464 CONVERT (elf->state.elf64.ehdr_mem.e_phentsize);
465 CONVERT (elf->state.elf64.ehdr_mem.e_phnum);
466 CONVERT (elf->state.elf64.ehdr_mem.e_shentsize);
467 ehdr_mem.e_shnum);
468 CONVERT (elf->state.elf64.ehdr_mem.e_shstrndx);