/external/elfutils/tests/ |
arextract.c | 32 Elf *subelf; local 68 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 71 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 84 offset = elf_getbase (subelf); 128 if (elf_end (subelf) != 0 || elf_end (elf) != 0) 142 cmd = elf_next (subelf); 143 if (elf_end (subelf) != 0)
|
arsymtest.c | 83 Elf *subelf; local 93 subelf = elf_begin (fd, ELF_C_READ, elf); 94 if (subelf == NULL) 101 arhdr = elf_getarhdr (subelf); 113 if (elf_end (subelf) != 0) 115 printf ("Error while freeing subELF descriptor: %s\n",
|
saridx.c | 138 Elf *subelf; local 143 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 146 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 154 switch (elf_kind (subelf)) 188 if (elf_kind (subelf) == ELF_K_ELF) 193 if (gelf_getehdr (subelf, &ehdr) == NULL) 221 cmd = elf_next (subelf); 222 if (elf_end (subelf) != 0)
|
/external/elfutils/src/ |
size.c | 369 Elf *subelf; local 386 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 389 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 391 if (elf_kind (subelf) == ELF_K_ELF) 392 handle_elf (subelf, new_prefix, arhdr->ar_name); 393 else if (elf_kind (subelf) == ELF_K_AR) 394 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name); 398 cmd = elf_next (subelf); 399 if (elf_end (subelf) != 0)
|
nm.c | 425 Elf *subelf; local 456 || (subelf = elf_begin (fd, cmd, elf)) == NULL 457 || (arhdr = elf_getarhdr (subelf)) == NULL)) 479 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 482 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 488 if (elf_kind (subelf) == ELF_K_ELF) 489 result |= handle_elf (subelf, new_prefix, arhdr->ar_name, 491 else if (elf_kind (subelf) == ELF_K_AR) 492 result |= handle_ar (fd, subelf, new_prefix, arhdr->ar_name, 503 cmd = elf_next (subelf); [all...] |
strip.c | 1736 Elf *subelf; local [all...] |
ld.c | 1031 Elf *subelf; local 1034 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 1036 cmd = elf_next (subelf); 1038 if (try (subelf) != 0) [all...] |
elflint.c | 267 Elf *subelf; local 287 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 289 kind = elf_kind (subelf); 294 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 297 process_file (fd, subelf, new_prefix, new_suffix, 302 cmd = elf_next (subelf); 303 if (elf_end (subelf) != 0) [all...] |
readelf.c | 403 Elf *subelf; local 419 while ((subelf = elf_begin (fd, cmd, elf)) != NULL) 421 kind = elf_kind (subelf); 426 Elf_Arhdr *arhdr = elf_getarhdr (subelf); 429 process_file (fd, subelf, new_prefix, arhdr->ar_name, false); 433 cmd = elf_next (subelf); 434 if (elf_end (subelf) != 0) [all...] |