/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/solaris/ |
H A D | libelf.d | 70 struct Elf struct 106 Elf* elf_begin(int, Elf_Cmd, Elf*); 107 int elf_cntl(Elf*, Elf_Cmd); 108 int elf_end(Elf*); 113 uint elf_flagehdr(Elf*, Elf_Cmd, uint); 114 uint elf_flagelf(Elf*, Elf_Cmd, uint); 115 uint elf_flagphdr(Elf*, Elf_Cmd, uint); 119 Elf_Arhdr* elf_getarhdr(Elf*); 120 Elf_Arsym* elf_getarsym(Elf*, size_t*); 121 off_t elf_getbase(Elf*); [all …]
|
H A D | link.d | 23 void ld_open(const scope char**, const scope char**, int*, int, Elf**, Elf*, size_t, const Elf_Kind… 24 void ld_file(const scope char*, const Elf_Kind, int, Elf*); 25 void ld_input_section(const scope char*, Elf32_Shdr**, Elf32_Word, Elf_Data*, Elf*, uint*); 26 void ld_section(const scope char*, Elf32_Shdr*, Elf32_Word, Elf_Data*, Elf*); 32 …void ld_open64(const scope char**, const scope char**, int*, int, Elf**, Elf*, size_t, const Elf_K… in version() 33 void ld_file64(const scope char*, const Elf_Kind, int, Elf*); in version() 34 void ld_input_section64(const scope char*, Elf64_Shdr**, Elf64_Word, Elf_Data*, Elf*, uint*); in version() 35 void ld_section64(const scope char*, Elf64_Shdr*, Elf64_Word, Elf_Data*, Elf*); in version()
|
/netbsd-src/external/bsd/elftoolchain/dist/libelf/ |
H A D | libelf.h | 43 typedef struct _Elf Elf; typedef 188 Elf *elf_begin(int _fd, Elf_Cmd _cmd, Elf *_elf); 189 int elf_cntl(Elf *_elf, Elf_Cmd _cmd); 190 int elf_end(Elf *_elf); 198 unsigned int elf_flagehdr(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags); 199 unsigned int elf_flagelf(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags); 200 unsigned int elf_flagphdr(Elf *_elf, Elf_Cmd _cmd, unsigned int _flags); 203 Elf_Arhdr *elf_getarhdr(Elf *_elf); 204 Elf_Arsym *elf_getarsym(Elf *_elf, size_t *_ptr); 205 off_t elf_getbase(Elf *_elf); [all …]
|
H A D | _libelf.h | 93 Elf *e_parent; /* non-NULL for archive members */ 206 Elf *_libelf_allocate_elf(void); 207 Elf_Scn *_libelf_allocate_scn(Elf *_e, size_t _ndx); 208 Elf_Arhdr *_libelf_ar_gethdr(Elf *_e); 209 Elf *_libelf_ar_open(Elf *_e, int _reporterror); 210 Elf *_libelf_ar_open_member(int _fd, Elf_Cmd _c, Elf *_ar); 211 Elf_Arsym *_libelf_ar_process_bsd_symtab(Elf *_ar, size_t *_dst); 212 Elf_Arsym *_libelf_ar_process_svr4_symtab(Elf *_ar, size_t *_dst); 213 long _libelf_checksum(Elf *_e, int _elfclass); 214 void *_libelf_ehdr(Elf *_e, int _elfclass, int _allocate); [all …]
|
H A D | gelf.h | 75 long gelf_checksum(Elf *_elf); 76 size_t gelf_fsize(Elf *_elf, Elf_Type _type, size_t _count, 78 int gelf_getclass(Elf *_elf); 80 GElf_Ehdr *gelf_getehdr(Elf *_elf, GElf_Ehdr *_dst); 81 GElf_Phdr *gelf_getphdr(Elf *_elf, int _index, GElf_Phdr *_dst); 88 void * gelf_newehdr(Elf *_elf, int _class); 89 void * gelf_newphdr(Elf *_elf, size_t _phnum); 91 int gelf_update_ehdr(Elf *_elf, GElf_Ehdr *_src); 92 int gelf_update_phdr(Elf *_elf, int _index, GElf_Phdr *_src); 99 Elf_Data *gelf_xlatetof(Elf *_elf, Elf_Data *_dst, const Elf_Data *_src, unsigned int _encode); [all …]
|
H A D | gelf_ehdr.c | 48 elf32_getehdr(Elf *e) in elf32_getehdr() 54 elf64_getehdr(Elf *e) in elf64_getehdr() 60 gelf_getehdr(Elf *e, GElf_Ehdr *d) in gelf_getehdr() 105 elf32_newehdr(Elf *e) in elf32_newehdr() 111 elf64_newehdr(Elf *e) in elf64_newehdr() 117 gelf_newehdr(Elf *e, int ec) in gelf_newehdr() 128 gelf_update_ehdr(Elf *e, GElf_Ehdr *s) in gelf_update_ehdr()
|
H A D | gelf_phdr.c | 42 elf32_getphdr(Elf *e) in elf32_getphdr() 48 elf64_getphdr(Elf *e) in elf64_getphdr() 54 gelf_getphdr(Elf *e, int index, GElf_Phdr *d) in gelf_getphdr() 106 elf32_newphdr(Elf *e, size_t count) in elf32_newphdr() 112 elf64_newphdr(Elf *e, size_t count) in elf64_newphdr() 118 gelf_newphdr(Elf *e, size_t count) in gelf_newphdr() 128 gelf_update_phdr(Elf *e, int ndx, GElf_Phdr *s) in gelf_update_phdr()
|
H A D | libelf_allocate.c | 50 Elf * 53 Elf *e; in _libelf_allocate_elf() 72 _libelf_init_elf(Elf *e, Elf_Kind kind) in _libelf_init_elf() 89 _libelf_release_elf(Elf *e) in _libelf_release_elf() 156 _libelf_allocate_scn(Elf *e, size_t ndx) in _libelf_allocate_scn() 179 Elf *e; in _libelf_release_scn()
|
H A D | libelf_convert.m4 | 48 # file representations of Elf data structures. 77 # `In-memory' representations of an Elf data structure use natural 155 Elf$3_$2 t, *s = (Elf$3_$2 *) (uintptr_t) src; 178 Elf$3_$2 t, *d = (Elf$3_$2 *) (uintptr_t) dst; 181 if (dsz < count * sizeof(Elf$3_$2)) 218 `pushdef(`SZ',$2)/* Swap an Elf$2_$1 */ 219 SWAP_MEMBERS(Elf$2_$1_DEF)popdef(`SZ')') 236 `pushdef(`SZ',$2)/* Write an Elf$2_$1 */ 237 WRITE_MEMBERS(Elf$2_$1_DEF)popdef(`SZ')') 254 `pushdef(`SZ',$2)/* Read an Elf$2_$1 */ [all …]
|
H A D | elf_shstrndx.c | 39 _libelf_getshdrstrndx(Elf *e, size_t *strndx) in _libelf_getshdrstrndx() 59 elf_getshdrstrndx(Elf *e, size_t *strndx) in elf_getshdrstrndx() 65 elf_getshstrndx(Elf *e, size_t *strndx) /* Deprecated API. */ in elf_getshstrndx() 71 elf_setshstrndx(Elf *e, size_t strndx) in elf_setshstrndx()
|
H A D | gelf_checksum.c | 39 elf32_checksum(Elf *e) in elf32_checksum() 45 elf64_checksum(Elf *e) in elf64_checksum() 51 gelf_checksum(Elf *e) in gelf_checksum()
|
H A D | libelf_extended.c | 47 _libelf_getscn0(Elf *e) in _libelf_getscn0() 58 _libelf_setshnum(Elf *e, void *eh, int ec, size_t shnum) in _libelf_setshnum() 88 _libelf_setshstrndx(Elf *e, void *eh, int ec, size_t shstrndx) in _libelf_setshstrndx() 117 _libelf_setphnum(Elf *e, void *eh, int ec, size_t phnum) in _libelf_setphnum()
|
H A D | elf_shnum.c | 39 _libelf_getshdrnum(Elf *e, size_t *shnum) in _libelf_getshdrnum() 59 elf_getshdrnum(Elf *e, size_t *shnum) in elf_getshdrnum() 66 elf_getshnum(Elf *e, size_t *shnum) in elf_getshnum()
|
H A D | elf_phnum.c | 39 _libelf_getphdrnum(Elf *e, size_t *phnum) in _libelf_getphdrnum() 59 elf_getphdrnum(Elf *e, size_t *phnum) in elf_getphdrnum() 66 elf_getphnum(Elf *e, size_t *phnum) in elf_getphnum()
|
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
H A D | Elf.h | 64 class Elf : public DbeMessages, public Data_window 77 Elf (char *_fname); 78 ~Elf (); 82 static Elf *elf_begin (char *_fname, Elf_status *stp = NULL); 98 …Elf *find_ancillary_files (char *lo_name); // read the .gnu_debuglink and .SUNW_ancillary seections 128 Vector<Elf*> *ancillary_files; 129 Elf *gnu_debug_file; 137 Elf *get_related_file (const char *lo_name, const char *nm); 157 static ElfReloc *get_elf_reloc (Elf *elf, char *sec_name, ElfReloc *rlc); 158 ElfReloc (Elf *_elf); [all …]
|
H A D | Elf.cc | 136 int Elf::bfd_status = -1; 139 Elf::elf_init () in elf_init() 145 Elf::Elf (char *filename) : DbeMessages (), Data_window (filename) in Elf() function in Elf 252 Elf::~Elf () in ~Elf() 278 Elf::elf_getehdr () in elf_getehdr() 286 Elf::get_phdr (unsigned int ndx) in get_phdr() 294 Elf::get_shdr (unsigned int ndx) in get_shdr() 302 Elf::elf_getdyn (Elf_Internal_Phdr *phdr, unsigned int ndx, Elf64_Dyn *pdyn) in elf_getdyn() 330 Elf::elf_version (unsigned ver) in elf_version() 336 Elf * [all …]
|
H A D | Stabs.h | 40 class Elf; variable 95 Elf *openElf (bool dbg_info = false); 110 Elf *elfDbg; // ELF with debug info 111 Elf *elfDis; // ELF for disasm 132 void readSymSec(unsigned int sec, Elf *elf); 145 Elf *openElf(char *fname, Stab_status &st);
|
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
H A D | Elf.h | 64 class Elf : public DbeMessages, public Data_window 77 Elf (char *_fname); 78 ~Elf (); 82 static Elf *elf_begin (char *_fname, Elf_status *stp = NULL); 98 …Elf *find_ancillary_files (char *lo_name); // read the .gnu_debuglink and .SUNW_ancillary seections 129 Vector<Elf*> *ancillary_files; 130 Elf *gnu_debug_file; 138 Elf *get_related_file (const char *lo_name, const char *nm); 166 static ElfReloc *get_elf_reloc (Elf *elf, char *sec_name, ElfReloc *rlc); 167 ElfReloc (Elf *_elf); [all …]
|
H A D | Elf.cc | 136 int Elf::bfd_status = -1; 139 Elf::elf_init () in elf_init() 145 Elf::Elf (char *filename) : DbeMessages (), Data_window (filename) in Elf() function in Elf 261 Elf::~Elf () in ~Elf() 291 Elf::elf_getehdr () in elf_getehdr() 299 Elf::get_phdr (unsigned int ndx) in get_phdr() 307 Elf::get_shdr (unsigned int ndx) in get_shdr() 315 Elf::elf_getdyn (Elf_Internal_Phdr *phdr, unsigned int ndx, Elf64_Dyn *pdyn) in elf_getdyn() 343 Elf::elf_version (unsigned ver) in elf_version() 349 Elf * [all …]
|
H A D | Stabs.h | 40 class Elf; variable 95 Elf *openElf (bool dbg_info = false); 110 Elf *elfDbg; // ELF with debug info 111 Elf *elfDis; // ELF for disasm 132 void readSymSec(unsigned int sec, Elf *elf); 145 Elf *openElf(char *fname, Stab_status &st);
|
H A D | CompCom.h | 27 class Elf; variable 33 CompComment (Elf *_elf, int _compcom); 42 Elf *elf;
|
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objdump/ |
H A D | ELFDump.cpp | 28 static Expected<StringRef> getDynamicStrTab(const ELFFile<ELFT> &Elf) { in getDynamicStrTab() argument 29 auto DynamicEntriesOrError = Elf.dynamicEntries(); in getDynamicStrTab() 35 auto MappedAddrOrError = Elf.toMappedAddr(Dyn.getPtr()); in getDynamicStrTab() 43 auto SectionsOrError = Elf.sections(); in getDynamicStrTab() 49 return Elf.getStringTableForSymtab(Sec); in getDynamicStrTab() 173 static void printDynamicSection(const ELFFile<ELFT> &Elf, StringRef Filename) { in printDynamicSection() argument 175 unwrapOrError(Elf.dynamicEntries(), Filename); in printDynamicSection() 180 MaxLen = std::max(MaxLen, Elf.getDynamicTagAsString(Dyn.d_tag).size()); in printDynamicSection() 188 std::string Str = Elf.getDynamicTagAsString(Dyn.d_tag); in printDynamicSection() 196 Expected<StringRef> StrTabOrErr = getDynamicStrTab(Elf); in printDynamicSection() [all …]
|
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | input.c | 54 built_source_types(Elf *elf, char const *file) in built_source_types() 91 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, in read_file() 134 read_archive(int fd, Elf *elf, char *file, char *label, read_cb_f *func, in read_archive() 137 Elf *melf; in read_archive() 192 Elf *elf; in read_ctf_common() 255 count_archive(int fd, Elf *elf, char *file) in count_archive() 257 Elf *melf; in count_archive() 286 Elf *elf; in count_files() 347 symit_new(Elf *elf, const char *file) in symit_new()
|
H A D | ctftools.h | 380 source_types_t built_source_types(Elf *, const char *); 385 symit_data_t *symit_new(Elf *, const char *); 414 int stabs_read(tdata_t *, Elf *, char *); 417 int dw_read(tdata_t *, Elf *, char *); 441 int findelfsecidx(Elf *, const char *, const char *); 442 size_t elf_ptrsz(Elf *);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/ |
H A D | ObjectYAML.cpp | 25 if (ObjectFile.Elf) in mapping() 26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping() 45 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping()
|