/illumos-gate/usr/src/cmd/sgs/dump/common/ |
H A D | dump.c | 629 (char *)elf_strptr(elf_file, in print_symtab() 1011 elf_strptr(elf_file, in dump_symbol_table() 1467 print_section(Elf *elf_file, in print_section() argument 1534 dump_section(Elf *elf_file, in dump_section() argument 1549 print_section(elf_file, p_ehdr, in dump_section() 1766 here = elf_getbase(elf_file); in load_arstring_table() 1945 Elf *elf_file; in each_file() local 1974 file_type = elf_kind(elf_file); in each_file() 1987 dump_exec_header(elf_file, in each_file() 1991 dump_section_table(elf_file, in each_file() [all …]
|
H A D | fcns.c | 87 dump_exec_header(Elf *elf_file, unsigned nseg, char *filename) in dump_exec_header() argument 96 if (gelf_getclass(elf_file) == ELFCLASS64) in dump_exec_header() 111 if ((gelf_getehdr(elf_file, &ehdr) == 0) || (ehdr.e_phnum == 0)) { in dump_exec_header() 117 if (gelf_getphdr(elf_file, counter, &p_phdr) == 0) { in dump_exec_header()
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_link.c | 64 elf_file.shdr[(index)].sh_size) 457 } elf_file; in dump_elf32() local 474 bzero(&elf_file, sizeof (elf_file)); in dump_elf32() 487 elf_file.ehdr.e_type = ET_REL; in dump_elf32() 498 elf_file.ehdr.e_shnum = nshdr; in dump_elf32() 542 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf32() 566 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf32() 594 } elf_file; in dump_elf64() local 611 bzero(&elf_file, sizeof (elf_file)); in dump_elf64() 679 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf64() [all …]
|
/illumos-gate/usr/src/cmd/sgs/nm/common/ |
H A D | nm.c | 449 Elf *elf_file; local 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 546 get_symtab(elf_file, filename); 581 get_symtab(Elf *elf_file, char *filename) argument 630 print_symtab(elf_file, shstrndx, scn, 734 if (gelf_getclass(elf_file) == ELFCLASS64) [all …]
|
/illumos-gate/usr/src/cmd/abi/appcert/static_prof/ |
H A D | static_prof.c | 857 Elf * elf_file, in is_text_section() argument 865 Elf_Scn *scn = elf_getscn(elf_file, shndx); in is_text_section() 875 sym_name = elf_strptr(elf_file, in is_text_section() 903 Elf * elf_file, in scan_archive_symbols() argument 1168 Elf * elf_file, in print_symtab() argument 1213 scn = elf_getscn(elf_file, shdr->sh_link); in print_symtab() 1237 elf_file, in print_symtab() 1259 Elf * elf_file, in get_symtab() argument 1325 Elf * elf_file, in process() argument 1335 if ((ehdr = elf64_getehdr(elf_file)) == NULL) in process() [all …]
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_elfload.c | 43 static caddr_t elf_file = 0; variable 45 #define PGETBYTES(offset) ((void *)(elf_file + (offset))) 88 elf_file = (caddr_t)file_image; in dboot_elfload64()
|
/illumos-gate/usr/src/boot/common/ |
H A D | bootstrap.h | 293 struct elf_file; 294 typedef Elf_Addr(symaddr_fn)(struct elf_file *, Elf_Size); 300 int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr,
|
H A D | load_elf_obj.c | 54 typedef struct elf_file { struct 73 static Elf_Addr __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx); argument 88 struct elf_file ef; in __elfN() 94 bzero(&ef, sizeof(struct elf_file)); in __elfN() 520 __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx) in __elfN()
|
H A D | load_elf.c | 52 typedef struct elf_file { struct 160 struct elf_file ef; in __elfN() 165 bzero(&ef, sizeof (struct elf_file)); in __elfN() 831 struct elf_file ef; in __elfN() 839 bzero(&ef, sizeof (struct elf_file)); in __elfN() 1141 __elfN(symaddr)(struct elf_file *ef __unused, Elf_Size symidx __unused) in __elfN()
|
H A D | reloc_elf.c | 52 __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata, in __elfN()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 200 typedef struct elf_file { /* convenience for managing ELF files */ struct
|