Lines Matching defs:elfb
104 Elf *elfb = elf_begin (fdb, use_mmap ? ELF_C_WRITE_MMAP : ELF_C_WRITE, NULL);
105 if (elfb == NULL)
123 if (gelf_newehdr (elfb, class) == 0)
133 if (gelf_update_ehdr (elfb, ehdrb) == 0)
147 if (setshstrndx (elfb, shstrndx) < 0)
163 if (gelf_newphdr (elfb, phnum) == 0)
179 if (gelf_update_phdr (elfb, cnt, phdr) == 0)
249 Elf_Scn *new_scn = elf_newscn (elfb);
281 while ((scn = elf_nextscn (elfb, scn)) != NULL)
305 elf_flagelf (elfb, ELF_C_SET, ELF_F_LAYOUT);
306 if (elf_update (elfb, ELF_C_WRITE) < 0)
324 if (elf_end (elfb) != 0)