Lines Matching refs:elf_file

449 	Elf	*elf_file;  local
477 if ((elf_file = elf_begin(fd, cmd, (Elf *) 0)) == NULL) {
484 file_type = elf_kind(elf_file);
486 print_ar_files(fd, elf_file, filename);
517 process(elf_file, filename);
525 (void) elf_end(elf_file);
535 process(Elf *elf_file, char *filename) argument
539 if (gelf_getehdr(elf_file, &ehdr) == NULL) {
546 get_symtab(elf_file, filename);
581 get_symtab(Elf *elf_file, char *filename) argument
588 if (elf_getshdrstrndx(elf_file, &shstrndx) == -1) {
596 scnfd = get_scnfd(elf_file, shstrndx, SHT_STRTAB);
620 while ((scn = elf_nextscn(elf_file, scn)) != 0) {
630 print_symtab(elf_file, shstrndx, scn,
642 print_ar_files(int fd, Elf * elf_file, char *filename) argument
652 while ((arf = elf_begin(fd, cmd, elf_file)) != 0) {
715 print_symtab(Elf *elf_file, unsigned int shstrndx, argument
734 if (gelf_getclass(elf_file) == ELFCLASS64)
756 sym_data = readsyms(sd, count, elf_file, shdr->sh_link,
780 print_with_pflag(ndigits, elf_file, shstrndx,
783 print_with_Pflag(ndigits, elf_file, shstrndx,
786 print_with_otherflags(ndigits, elf_file,
812 is_bss_section(unsigned int shndx, Elf * elf_file, unsigned int shstrndx) argument
814 Elf_Scn *scn = elf_getscn(elf_file, shndx);
820 sym_name = elf_strptr(elf_file, shstrndx, shdr.sh_name);
1093 print_brief_sym_type(Elf *elf_file, unsigned int shstrndx, SYM *sym_data) argument
1111 is_bss_section((int)sym_data->shndx, elf_file, shstrndx)) {
1144 print_with_pflag(int ndigits, Elf *elf_file, unsigned int shstrndx, argument
1171 print_brief_sym_type(elf_file, shstrndx, sym_data);
1193 print_with_Pflag(int ndigits, Elf *elf_file, unsigned int shstrndx, argument
1227 print_brief_sym_type(elf_file, shstrndx, sym_data);
1241 print_with_otherflags(int ndigits, Elf *elf_file, unsigned int shstrndx, argument
1311 Elf_Scn *scn = elf_getscn(elf_file, sym_data->shndx);
1317 (char *)elf_strptr(elf_file,