/external/elfutils/tests/ |
arls.c | 75 Elf *subelf = NULL; local 77 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 79 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 84 elf_end (subelf); 90 off_t off = elf_getaroff (subelf); 104 cmd = elf_next (subelf); 105 elf_end (subelf);
|
arextract.c | 36 Elf *subelf; local 72 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 75 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 88 offset = elf_getbase (subelf); 132 if (elf_end (subelf) != 0 || elf_end (elf) != 0) 146 cmd = elf_next (subelf); 147 if (elf_end (subelf) != 0)
|
arsymtest.c | 87 Elf *subelf; local 97 subelf = elf_begin (fd, ELF_C_READ, elf); 98 if (subelf == NULL) 105 arhdr = elf_getarhdr (subelf); 117 if (elf_end (subelf) != 0) 119 printf ("Error while freeing subELF descriptor: %s\n",
|
saridx.c | 142 Elf *subelf; local 147 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 150 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 158 switch (elf_kind (subelf)) 192 if (elf_kind (subelf) == ELF_K_ELF) 197 if (gelf_getehdr (subelf, &ehdr) == NULL) 225 cmd = elf_next (subelf); 226 if (elf_end (subelf) != 0)
|
/external/elfutils/libdwfl/ |
open.c | 141 Elf *subelf = elf_begin (-1, ELF_C_READ_MMAP_PRIVATE, elf); local 143 if (unlikely (subelf == NULL)) 147 subelf->parent = NULL; 148 subelf->flags |= elf->flags & (ELF_F_MMAPPED | ELF_F_MALLOCED); 151 elf = subelf;
|
/external/elfutils/src/ |
ar.c | 510 Elf *subelf; local 511 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 513 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 517 index_off = elf_getaroff (subelf); 595 char *data = elf_rawfile (subelf, &nleft); 751 cmd = elf_next (subelf); 752 if (elf_end (subelf) != 0) 943 Elf *subelf; local 944 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 946 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 1146 Elf *subelf; local [all...] |
objdump.c | 307 Elf *subelf; local 323 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 326 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 332 if (elf_kind (subelf) == ELF_K_ELF) 333 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, 335 else if (elf_kind (subelf) == ELF_K_AR) 336 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, 347 cmd = elf_next (subelf); 348 if (elf_end (subelf) != 0)
|
size.c | 375 Elf *subelf; local 377 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 380 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 382 if (elf_kind (subelf) == ELF_K_ELF) 383 handle_elf (subelf, new_prefix, arhdr->ar_name); 384 else if (likely (elf_kind (subelf) == ELF_K_AR)) 385 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); 389 cmd = elf_next (subelf); 390 if (unlikely (elf_end (subelf) != 0))
|
nm.c | 432 Elf *subelf; local 463 || (subelf = elf_begin (fd, cmd, elf)) == NULL 464 || (arhdr = elf_getarhdr (subelf)) == NULL)) 486 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 489 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 496 if (elf_kind (subelf) == ELF_K_ELF) 497 result |= handle_elf (fd, subelf, new_prefix, arhdr->ar_name, 499 else if (elf_kind (subelf) == ELF_K_AR) 500 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, 511 cmd = elf_next (subelf); [all...] |
strip.c | 2250 Elf *subelf; local [all...] |
ld.c | 1081 Elf *subelf; local 1084 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 1086 cmd = elf_next (subelf); 1088 if (try (fd, subelf) != 0) [all...] |
elflint.c | 261 Elf *subelf; local 281 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 283 kind = elf_kind (subelf); 288 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 291 process_file (fd, subelf, new_prefix, new_suffix, 296 cmd = elf_next (subelf); 297 if (elf_end (subelf) != 0) [all...] |
readelf.c | 9721 Elf *subelf = NULL; local [all...] |