Home | History | Annotate | Download | only in libelf

Lines Matching defs:ehdr_mem

89   } ehdr_mem;
104 ehdr.p = &ehdr_mem;
110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
111 ehdr_mem.e32.e_shoff = ((Elf32_Ehdr *) e_ident)->e_shoff;
114 memcpy (&ehdr_mem, e_ident, sizeof (Elf32_Ehdr));
118 CONVERT (ehdr_mem.e32.e_shnum);
119 CONVERT (ehdr_mem.e32.e_shoff);
126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
127 ehdr_mem.e64.e_shoff = ((Elf64_Ehdr *) e_ident)->e_shoff;
130 memcpy (&ehdr_mem, e_ident, sizeof (Elf64_Ehdr));
134 CONVERT (ehdr_mem.e64.e_shnum);
135 CONVERT (ehdr_mem.e64.e_shoff);
317 elf->state.elf32.ehdr = memcpy (&elf->state.elf32.ehdr_mem, e_ident,
322 CONVERT (elf->state.elf32.ehdr_mem.e_type);
323 CONVERT (elf->state.elf32.ehdr_mem.e_machine);
324 CONVERT (elf->state.elf32.ehdr_mem.e_version);
325 CONVERT (elf->state.elf32.ehdr_mem.e_entry);
326 CONVERT (elf->state.elf32.ehdr_mem.e_phoff);
327 CONVERT (elf->state.elf32.ehdr_mem.e_shoff);
328 CONVERT (elf->state.elf32.ehdr_mem.e_flags);
329 CONVERT (elf->state.elf32.ehdr_mem.e_ehsize);
330 CONVERT (elf->state.elf32.ehdr_mem.e_phentsize);
331 CONVERT (elf->state.elf32.ehdr_mem.e_phnum);
332 CONVERT (elf->state.elf32.ehdr_mem.e_shentsize);
333 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
334 CONVERT (elf->state.elf32.ehdr_mem.e_shstrndx);
419 elf->state.elf64.ehdr = memcpy (&elf->state.elf64.ehdr_mem, e_ident,
424 CONVERT (elf->state.elf64.ehdr_mem.e_type);
425 CONVERT (elf->state.elf64.ehdr_mem.e_machine);
426 CONVERT (elf->state.elf64.ehdr_mem.e_version);
427 CONVERT (elf->state.elf64.ehdr_mem.e_entry);
428 CONVERT (elf->state.elf64.ehdr_mem.e_phoff);
429 CONVERT (elf->state.elf64.ehdr_mem.e_shoff);
430 CONVERT (elf->state.elf64.ehdr_mem.e_flags);
431 CONVERT (elf->state.elf64.ehdr_mem.e_ehsize);
432 CONVERT (elf->state.elf64.ehdr_mem.e_phentsize);
433 CONVERT (elf->state.elf64.ehdr_mem.e_phnum);
434 CONVERT (elf->state.elf64.ehdr_mem.e_shentsize);
435 CONVERT (elf->state.elf64.ehdr_mem.e_shnum);
436 CONVERT (elf->state.elf64.ehdr_mem.e_shstrndx);