| /src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ELF/ |
| ELFObjcopy.h | 25 namespace elf { namespace in namespace:llvm::objcopy 36 } // end namespace elf
|
| /src/external/bsd/elftoolchain/dist/libdwarf/ |
| dwarf_init.c | 36 dwarf_elf_init(Elf *elf, int mode, Dwarf_Handler errhand, Dwarf_Ptr errarg, 42 if (elf == NULL || ret_dbg == NULL) { 55 if (_dwarf_elf_init(dbg, elf, error) != DW_DLE_NONE) { 76 dwarf_get_elf(Dwarf_Debug dbg, Elf **elf, Dwarf_Error *error) 80 if (dbg == NULL || elf == NULL) { 86 *elf = e->eo_elf; 96 Elf *elf; local [all...] |
| /src/sys/arch/epoc32/stand/e32boot/exe/ |
| netbsd.cpp | 32 #include "elf.h" 44 Elf32_Ehdr elf; member in union:__anon1271 55 /* Currently support is ELF only. */ 56 if (Mem::Compare((TUint8 *)hdr.elf.e_ident, SELFMAG, 58 netbsd = new (ELeave) ELF(size); 91 ELF::ParseHeader(void)
|
| /src/sys/lib/libsa/ |
| lookup_elf32.c | 49 Elf_Ehdr *elf; local 55 elf = sstab; 56 if (elf->e_shoff == 0) 59 switch (elf->e_machine) { 68 shp = (Elf_Shdr *)((char *)sstab + elf->e_shoff); 69 for (i = 0; i < elf->e_shnum; i++) {
|
| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| drti.c | 102 Elf64_Ehdr *elf; local 104 Elf32_Ehdr *elf; local 147 elf = (void *)lmp->l_addr; 150 dh.dofhp_addr = elf && elf->e_type == ET_DYN ? (uintptr_t) lmp->l_addr : 0;
|
| /src/external/gpl3/binutils/dist/gprofng/src/ |
| CompCom.h | 27 class Elf; 33 CompComment (Elf *_elf, int _compcom); 42 Elf *elf; member in class:CompComment
|
| Dwarf.h | 85 Elf *elf; member in class:Dwarf
|
| /src/external/gpl3/binutils.old/dist/gprofng/src/ |
| CompCom.h | 27 class Elf; 33 CompComment (Elf *_elf, int _compcom); 42 Elf *elf; member in class:CompComment
|
| Dwarf.h | 85 Elf *elf; member in class:Dwarf
|
| /src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| ctfconvert.c | 88 typedef int (*reader_f)(tdata_t *, Elf *, char *); 96 Elf *elf; local 104 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) { 110 source_types = built_source_types(elf, filename); 119 if ((rc = readers[i](td, elf, filename)) == 0) 130 if (findelfsecidx(elf, filename, ".debug") >= 0) { 146 (void) elf_end(elf);
|
| /src/external/gpl3/binutils/usr.bin/gas/ |
| Makefile | 16 COPTS.obj-elf.c = -Wno-stack-protector
|
| /src/external/gpl3/binutils.old/usr.bin/gas/ |
| Makefile | 16 COPTS.obj-elf.c = -Wno-stack-protector
|
| /src/lib/libexecinfo/ |
| symtab.c | 94 Elf *elf; local 100 warnx("Elf Library is out of date."); 104 elf = elf_begin(fd, ELF_C_READ, NULL); 105 if (elf == NULL) { 106 warnx("Error opening elf file: %s", elf_errmsg(elf_errno())); 112 elf_end(elf); 115 if (gelf_getehdr(elf, &ehdr) == NULL) { 116 warnx("Error getting ELF Ehdr"); 117 elf_end(elf); [all...] |
| /src/sys/arch/hpc/stand/hpcboot/ |
| load.cpp | 53 Elf_Ehdr elf; member in union:__anon1377 58 if (header.elf.e_ident[EI_MAG0] == ELFMAG0 && 59 header.elf.e_ident[EI_MAG1] == ELFMAG1 && 60 header.elf.e_ident[EI_MAG2] == ELFMAG2 && 61 header.elf.e_ident[EI_MAG3] == ELFMAG3)
|
| /src/sys/arch/hpcmips/stand/pbsdboot/ |
| elf.c | 1 /* $NetBSD: elf.c,v 1.9 2007/03/05 21:05:01 dogcow Exp $ */ 131 Elf_Ehdr elfx, *elf = &elfx; local 146 if (read(fd, (void*)elf, sizeof(Elf_Ehdr)) != sizeof(Elf_Ehdr)) { 152 if ((phtbl = (Elf_Phdr *)alloc(sizeof(*phtbl) * elf->e_phnum)) == NULL || 153 (shtbl = (Elf_Shdr *)alloc(sizeof(*shtbl) * elf->e_shnum)) == NULL) { 159 if (lseek(fd, elf->e_phoff, SEEK_SET) == -1) { 164 if (read(fd, (void *)phtbl, sizeof(Elf_Phdr) * elf->e_phnum) 165 != (int)(sizeof(Elf_Phdr) * elf->e_phnum)) { 171 if (lseek(fd, elf->e_shoff, SEEK_SET) == -1) { 176 if (read(fd, (void *)shtbl, sizeof(Elf_Shdr) * elf->e_shnum [all...] |
| /src/sys/arch/zaurus/stand/zbsdmod/ |
| zbsdmod.c | 107 #define elf ((Elf32_Ehdr *)bsdimage) macro 108 #define phdr ((Elf32_Phdr *)((char *)elf + elf->e_phoff)) 110 if (memcmp(elf->e_ident, ELFMAG, SELFMAG) != 0 || 111 elf->e_ident[EI_CLASS] != ELFCLASS32) 122 for (i = 0; i < elf->e_phnum; i++) { 169 * Set up pointers to copied ELF and section headers. 175 sz = elf->e_shnum * sizeof(Elf_Shdr); 176 shp = (Elf_Shdr *)((vaddr_t)elf + elf->e_shoff) [all...] |
| /src/sys/ddb/ |
| db_elf.c | 69 "ELF", 109 Elf_Ehdr *elf; local 127 * Elf exec header 139 * Validate the Elf header. 141 elf = (Elf_Ehdr *)symtab; 142 if (memcmp(elf->e_ident, ELFMAG, SELFMAG) != 0 || 143 elf->e_ident[EI_CLASS] != ELFCLASS) 146 switch (elf->e_machine) { 158 if (elf->e_shoff == 0) 160 shp = (Elf_Shdr *)((char *)symtab + elf->e_shoff) 215 Elf_Ehdr *elf = STAB_TO_EHDR(stab); local [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/ |
| Magic.h | 25 elf, ///< ELF Unknown type enumerator in enum:llvm::file_magic::Impl 26 elf_relocatable, ///< ELF Relocatable object file 27 elf_executable, ///< ELF Executable image 28 elf_shared_object, ///< ELF dynamically linked shared lib 29 elf_core, ///< ELF core image
|
| /src/external/gpl3/binutils/dist/bfd/ |
| elfxx-sparc.h | 1 /* SPARC ELF specific backend routines. 21 #include "elf/common.h" 22 #include "elf/internal.h" 26 struct bfd_elf_section_data elf; member in struct:_bfd_sparc_elf_section_data 43 /* Sparc ELF linker hash table. */ 47 struct elf_link_hash_table elf; member in struct:_bfd_sparc_elf_link_hash_table 81 /* Get the SPARC ELF linker hash table from a link_info structure. */
|
| /src/external/gpl3/binutils.old/dist/bfd/ |
| elfxx-sparc.h | 1 /* SPARC ELF specific backend routines. 21 #include "elf/common.h" 22 #include "elf/internal.h" 26 struct bfd_elf_section_data elf; member in struct:_bfd_sparc_elf_section_data 43 /* Sparc ELF linker hash table. */ 47 struct elf_link_hash_table elf; member in struct:_bfd_sparc_elf_link_hash_table 84 /* Get the SPARC ELF linker hash table from a link_info structure. */
|
| /src/external/gpl3/gcc.old/dist/lto-plugin/ |
| lto-symtab.c | 186 Elf *elf; local 190 elf = elf_begin (fd, ELF_C_READ, NULL); 191 assert (elf); 193 Elf_Kind kind = elf_kind (elf); 199 Elf *member = elf_begin (fd, ELF_C_READ, elf); 213 member = elf_begin (fd, cmd, elf); 219 elf_end (elf);
|
| /src/external/gpl3/gdb.old/dist/bfd/ |
| elfxx-sparc.h | 1 /* SPARC ELF specific backend routines. 21 #include "elf/common.h" 22 #include "elf/internal.h" 26 struct bfd_elf_section_data elf; member in struct:_bfd_sparc_elf_section_data 43 /* Sparc ELF linker hash table. */ 47 struct elf_link_hash_table elf; member in struct:_bfd_sparc_elf_link_hash_table 84 /* Get the SPARC ELF linker hash table from a link_info structure. */
|
| /src/external/gpl3/gdb/dist/bfd/ |
| elfxx-sparc.h | 1 /* SPARC ELF specific backend routines. 21 #include "elf/common.h" 22 #include "elf/internal.h" 26 struct bfd_elf_section_data elf; member in struct:_bfd_sparc_elf_section_data 43 /* Sparc ELF linker hash table. */ 47 struct elf_link_hash_table elf; member in struct:_bfd_sparc_elf_link_hash_table 84 /* Get the SPARC ELF linker hash table from a link_info structure. */
|
| /src/sys/arch/vax/boot/xxboot/ |
| bootxx.c | 100 Elf32_Ehdr elf; member in union:__anon2161 146 } else if (memcmp(hdr.elf.e_ident, ELFMAG, SELFMAG) == 0) { 148 size_t off = sizeof(hdr.elf); 150 read(io, (char *)&hdr.elf + sizeof(hdr.aout), 151 sizeof(hdr.elf) - sizeof(hdr.aout)); 152 if (hdr.elf.e_machine != EM_VAX || hdr.elf.e_type != ET_EXEC 153 || hdr.elf.e_phnum != 1) 156 entry = hdr.elf.e_entry; 157 if (hdr.elf.e_phoff != sizeof(hdr.elf) [all...] |
| /src/usr.sbin/crash/ |
| crash.c | 352 void *elf; local 405 elf = malloc(sz); 406 if (elf == NULL) { 409 sz = read(fd, elf, sz); 418 elf = mmap(NULL, sz, PROT_READ, MAP_PRIVATE|MAP_FILE, fd, 0); 419 if (elf == MAP_FAILED) { 496 ddb_init(sz, elf, (char *)elf + sz);
|