Searched refs:ed_ehdr (Results 1 – 11 of 11) sorted by relevance
109 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()110 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()120 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; in elf_newphdr()121 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; in elf_newphdr()131 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count; in elf_newphdr()132 ((Ehdr*)elf->ed_ehdr)->e_phentsize in elf_newphdr()
235 elf->ed_ehdr = (Ehdr *)elf->ed_ident; in _elf_ehdr()238 elf->ed_ehdr = malloc(sizeof (Ehdr)); in _elf_ehdr()239 if (elf->ed_ehdr == 0) { in _elf_ehdr()256 dst.d_buf = (Elf_Void *)elf->ed_ehdr; in _elf_ehdr()264 free(elf->ed_ehdr); in _elf_ehdr()266 elf->ed_ehdr = 0; in _elf_ehdr()270 if (((Ehdr*)elf->ed_ehdr)->e_ident[EI_CLASS] != ELFCLASS) { in _elf_ehdr()274 free(elf->ed_ehdr); in _elf_ehdr()276 elf->ed_ehdr = 0; in _elf_ehdr()280 if (((Ehdr*)elf->ed_ehdr)->e_version != elf->ed_version) { in _elf_ehdr()[all …]
54 if (elf->ed_ehdr == 0) { in elf_newscn()82 ((Elf32_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()112 ((Elf64_Ehdr *)elf->ed_ehdr)->e_shnum in elf_newscn()
49 if (elf->ed_ehdr == 0) in getehdr()52 rc = elf->ed_ehdr; in getehdr()
223 free(elf->ed_ehdr); in _elf_cook()225 elf->ed_ehdr = 0; in _elf_cook()
163 Ehdr * eh = elf->ed_ehdr; in _elf_upd_lib()347 Ehdr * eh = elf->ed_ehdr; in _elf_upd_usr()464 Ehdr *eh = elf->ed_ehdr; in wrt()747 Ehdr *eh = elf->ed_ehdr; in _elfxx_update()872 eh = elf->ed_ehdr; in _elfxx_swap_wrimage()
114 elf->ed_ehdr = eh; in elf_newehdr()
102 free(elf->ed_ehdr); in elf_end()
332 Elf_Void *ed_ehdr; /* Elf{32,64}_Ehdr elf header */ member
707 Elf32_Ehdr * ehdr = (Elf32_Ehdr *)elf->ed_ehdr;
764 Elf64_Ehdr * ehdr = (Elf64_Ehdr *)elf->ed_ehdr;