Home | History | Annotate | Download | only in libelf

Lines Matching refs:ehdr_mem

109   } ehdr_mem;
124 ehdr.p = &ehdr_mem;
130 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
131 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
134 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
138 CONVERT (ehdr_mem.e32.e_shnum);
139 CONVERT (ehdr_mem.e32.e_shoff);
146 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
147 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff;
150 memcpy (&ehdr_mem, e_ident, sizeof (Elf64_Ehdr));
154 CONVERT (ehdr_mem.e64.e_shnum);
155 CONVERT (ehdr_mem.e64.e_shoff);
357 elf->state.elf32.ehdr = memcpy (&elf->state.elf32.ehdr_mem, e_ident,
362 CONVERT (elf->state.elf32.ehdr_mem.e_type);
363 CONVERT (elf->state.elf32.ehdr_mem.e_machine);
364 CONVERT (elf->state.elf32.ehdr_mem.e_version);
365 CONVERT (elf->state.elf32.ehdr_mem.e_entry);
366 CONVERT (elf->state.elf32.ehdr_mem.e_phoff);
367 CONVERT (elf->state.elf32.ehdr_mem.e_shoff);
368 CONVERT (elf->state.elf32.ehdr_mem.e_flags);
369 CONVERT (elf->state.elf32.ehdr_mem.e_ehsize);
370 CONVERT (elf->state.elf32.ehdr_mem.e_phentsize);
371 CONVERT (elf->state.elf32.ehdr_mem.e_phnum);
372 CONVERT (elf->state.elf32.ehdr_mem.e_shentsize);
373 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
374 CONVERT (elf->state.elf32.ehdr_mem.e_shstrndx);
445 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident,
450 CONVERT (elf->state.elf64.ehdr_mem.e_type);
451 CONVERT (elf->state.elf64.ehdr_mem.e_machine);
452 CONVERT (elf->state.elf64.ehdr_mem.e_version);
453 CONVERT (elf->state.elf64.ehdr_mem.e_entry);
454 CONVERT (elf->state.elf64.ehdr_mem.e_phoff);
455 CONVERT (elf->state.elf64.ehdr_mem.e_shoff);
456 CONVERT (elf->state.elf64.ehdr_mem.e_flags);
457 CONVERT (elf->state.elf64.ehdr_mem.e_ehsize);
458 CONVERT (elf->state.elf64.ehdr_mem.e_phentsize);
459 CONVERT (elf->state.elf64.ehdr_mem.e_phnum);
460 CONVERT (elf->state.elf64.ehdr_mem.e_shentsize);
461 CONVERT (elf->state.elf64.ehdr_mem.e_shnum);
462 CONVERT (elf->state.elf64.ehdr_mem.e_shstrndx);