Home
last modified time | relevance | path

Searched refs:FAILIF_LIBELF (Results 1 – 12 of 12) sorted by relevance

/build/tools/soslim/
Dmain.c91 FAILIF_LIBELF(elf == NULL, elf_begin); in main()
104 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); in main()
115 FAILIF_LIBELF(elf_end(elf), elf_end); in main()
135 FAILIF_LIBELF(elf == NULL, elf_begin); in main()
150 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), gelf_getehdr); in main()
215 FAILIF_LIBELF(elf_end (newelf) != 0, elf_end); in main()
221 FAILIF_LIBELF(elf_end(elf), elf_end); in main()
245 FAILIF_LIBELF(0 == gelf_getehdr(elf, &ehdr), gelf_getehdr); in print_dynamic_symbols()
247 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &shdr), gelf_getshdr); in print_dynamic_symbols()
255 FAILIF_LIBELF(elf_getshstrndx(elf, &shstrndx) < 0, in print_dynamic_symbols()
[all …]
Dsoslim.c59 FAILIF_LIBELF(NULL == ehdr, gelf_getehdr); in clone_elf()
84 FAILIF_LIBELF(NULL == gelf_getphdr(elf, cnt, phdr_info + cnt), in clone_elf()
94 FAILIF_LIBELF(elf_getshstrndx(elf, &shstrndx) < 0, elf_getshstrndx); in clone_elf()
97 FAILIF_LIBELF(elf_getshnum (elf, &shnum) < 0, elf_getshnum); in clone_elf()
122 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &shdr_info[cnt].shdr), in clone_elf()
186 FAILIF_LIBELF(NULL == ebl, ebl_openbackend); in clone_elf()
187 FAILIF_LIBELF(0 != arm_init(elf, ehdr->e_machine, ebl, sizeof(Ebl)), in clone_elf()
300 FAILIF_LIBELF(NULL == symdata, elf_getdata); in clone_elf()
325 FAILIF_LIBELF(sym == NULL, gelf_getsymshndx); in clone_elf()
427 FAILIF_LIBELF((shst = ebl_strtabinit (1 /* null-terminated */)) == NULL, in clone_elf()
[all …]
Ddebug.h42 #define FAILIF_LIBELF(cond, function) \ macro
Dsymfilter.c162 FAILIF_LIBELF(NULL == sym, gelf_getsymshndx); in build_symfilter()
/build/tools/isprelinked/
Disprelinked.c66 FAILIF_LIBELF(elf == NULL, elf_begin); in main()
68 FAILIF_LIBELF(0 == gelf_getehdr(elf, &elf_hdr), in main()
83 FAILIF_LIBELF(elf_end(elf), elf_end); in main()
Ddebug.h42 #define FAILIF_LIBELF(cond, function) \ macro
/build/tools/lsd/
Dlsd.c143 FAILIF_LIBELF(source->elf == NULL, elf_begin); in init_source()
155 FAILIF_LIBELF(0 == gelf_getehdr(source->elf, &source->elf_hdr), gelf_getehdr); in init_source()
165 FAILIF_LIBELF(elf_getshstrndx (source->elf, &source->shstrndx) < 0, in init_source()
168 FAILIF_LIBELF(elf_getshnum (source->elf, &source->shnum) < 0, elf_getshnum); in init_source()
177 FAILIF_LIBELF(NULL == scn, elf_getscn); in init_source()
179 FAILIF_LIBELF(NULL == shdr, gelf_getshdr); in init_source()
184 FAILIF_LIBELF(NULL == source->symtab.data, elf_getdata); in init_source()
191 FAILIF_LIBELF(NULL == source->strtab.scn, elf_getscn); in init_source()
192 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &source->strtab.shdr), in init_source()
195 FAILIF_LIBELF(NULL == source->strtab.data, elf_getdata); in init_source()
[all …]
Ddebug.h42 #define FAILIF_LIBELF(cond, function) \ macro
/build/tools/apriori/
Dsource.c15 FAILIF_LIBELF(NULL == gelf_getshdr(*scn, shdr), gelf_getshdr); in find_section()
17 FAILIF_LIBELF(NULL == *data, elf_getdata); in find_section()
Dapriori.c164 FAILIF_LIBELF(NULL == scn, elf_newscn); in create_elf_sections()
167 FAILIF_LIBELF(NULL == oldshdr, gelf_getshdr); in create_elf_sections()
174 FAILIF_LIBELF(NULL == olddata, elf_getdata); in create_elf_sections()
177 FAILIF_LIBELF(NULL == data, elf_newdata); in create_elf_sections()
259 FAILIF_LIBELF(NULL == in setup_shdr_info()
336 FAILIF_LIBELF(elf == NULL, elf_begin); in init_elf()
339 FAILIF_LIBELF(elf == NULL, elf_clone); in init_elf()
343 FAILIF_LIBELF(NULL == oldehdr, gelf_getehdr); in init_elf()
347 FAILIF_LIBELF(gelf_newehdr (elf, gelf_getclass (source->oldelf)) == 0, in init_elf()
349 FAILIF_LIBELF(oldehdr->e_type != ET_REL in init_elf()
[all …]
Ddebug.h42 #define FAILIF_LIBELF(cond, function) \ macro
/build/tools/iself/
Ddebug.h44 #define FAILIF_LIBELF(cond, function) \ macro