/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | newehdr.c | 63 Ehdr * 66 Ehdr *eh; 78 if ((eh = (Ehdr *)getehdr(elf)) != 0) { 98 if ((eh = (Ehdr *)getehdr(elf)) != 0) { /* this cooks if necessary */ 106 if ((eh = (Ehdr *)malloc(sizeof (Ehdr))) == 0) {
|
H A D | newphdr.c | 109 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; 110 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; 120 ((Ehdr*)elf->ed_ehdr)->e_phnum = 0; 121 ((Ehdr*)elf->ed_ehdr)->e_phentsize = 0; 131 ((Ehdr*)elf->ed_ehdr)->e_phnum = (Half)count; 132 ((Ehdr*)elf->ed_ehdr)->e_phentsize
|
H A D | clscook.c | 230 if (inplace && (fsz >= sizeof (Ehdr))) { 232 * The translated Ehdr will fit over the original Ehdr. 235 elf->ed_ehdr = (Ehdr *)elf->ed_ident; 238 elf->ed_ehdr = malloc(sizeof (Ehdr)); 257 dst.d_size = sizeof (Ehdr); 270 if (((Ehdr*)elf->ed_ehdr)->e_ident[EI_CLASS] != ELFCLASS) { 280 if (((Ehdr*)elf->ed_ehdr)->e_version != elf->ed_version) { 301 Ehdr * eh = elf->ed_ehdr; /* must be present */ 362 register Ehdr *e [all...] |
H A D | update.c | 163 Ehdr * eh = elf->ed_ehdr; 169 * Ehdr and Phdr table go first 347 Ehdr * eh = elf->ed_ehdr; 353 * Ehdr and Phdr table go first 464 Ehdr *eh = elf->ed_ehdr; 530 * Ehdr first 535 src.d_size = sizeof (Ehdr); 747 Ehdr *eh = elf->ed_ehdr; 862 Ehdr *eh; 868 * Ehdr firs [all...] |
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | elf_generic.h | 63 __ElfType(Ehdr); variable
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/i386/ |
H A D | plt32_resolution.c | 54 Ehdr ehdr; 71 sizeof (Ehdr)) != PS_OK) {
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | machelf.h | 76 typedef Elf64_Ehdr Ehdr; typedef 123 typedef Elf32_Ehdr Ehdr; typedef
|
H A D | kobj.h | 58 Ehdr hdr;
|
H A D | exec.h | 242 extern int mapexec_brand(vnode_t *, uarg_t *, Ehdr *, Addr *,
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Psymtab_machelf32.c | 215 Ehdr *ehdr, uint_t phnum, Phdr *phdr) 219 Ehdr *ehdr, uint_t phnum, Phdr *phdr) 254 Ehdr *ep; 347 size = sizeof (Ehdr); 453 ep = (Ehdr *)elfdata; 454 (void) memcpy(ep, ehdr, offsetof(Ehdr, e_phoff)); 456 ep->e_ehsize = sizeof (Ehdr); 457 ep->e_phoff = sizeof (Ehdr);
|
/illumos-gate/usr/src/uts/sparc/krtld/ |
H A D | kobj_isa.c | 47 elf_mach_ok(Ehdr *h)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.h | 99 extern void mdb_gelf_ehdr_to_gehdr(Ehdr *, GElf_Ehdr *);
|
/illumos-gate/usr/src/cmd/sgs/lari/ |
H A D | lari.pl | 1210 my ($Ehdr) = 0; 1255 $Ehdr = 1; 1259 $Ehdr = $Rel = $Info = 0; 1262 $Ehdr = $Dyn = $Info = 0; 1265 $Ehdr = $Dyn = $Rel = 0; 1271 $Ehdr = $Dyn = $Rel = $Info = 0; 1273 $Ehdr = $Dyn = $Rel = $Info = 0; 1279 if ($Ehdr eq 1) { 1288 $Ehdr = 0;
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | _rtld_db.h | 139 psaddr_t, Ehdr *, uint_t *);
|
H A D | rd_elf.c | 375 psaddr_t addr, Ehdr *ehdr, uint_t *phnum) 415 Ehdr ehdr; 560 Ehdr ehdr; 635 sizeof (Ehdr)) != PS_OK) { 639 off += sizeof (Ehdr);
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 77 static int getelfhead(vnode_t *, cred_t *, Ehdr *, int *, int *, int *); 78 static int getelfphdr(vnode_t *, cred_t *, const Ehdr *, int, caddr_t *, 80 static int getelfshdr(vnode_t *, cred_t *, const Ehdr *, int, int, caddr_t *, 82 static size_t elfsize(Ehdr *, int, caddr_t, uintptr_t *); 83 static int mapelfexec(vnode_t *, Ehdr *, int, caddr_t, 207 mapexec_brand(vnode_t *vp, uarg_t *args, Ehdr *ehdr, Addr *uphdr_vaddr, 320 Ehdr ehdr; 327 Ehdr *ehdrp; 1014 elfsize(Ehdr *ehdrp, int nphdrs, caddr_t phdrbase, uintptr_t *lddata) 1068 getelfhead(vnode_t *vp, cred_t *credp, Ehdr *ehd [all...] |
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/ |
H A D | elf.c | 33 Elf_ehdr(Lm_list *lml, Ehdr *ehdr, Shdr *shdr0)
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | object.c | 45 static Ehdr dehdr = { { ELFMAG0, ELFMAG1, ELFMAG2, ELFMAG3, 237 Ehdr *ehdr;
|
H A D | _elf.h | 59 extern int elf_mach_flags_check(Rej_desc *, Ehdr *);
|
H A D | elf.c | 170 elf_cap_check(Fdesc *fdp, Ehdr *ehdr, Rej_desc *rej) 235 Ehdr *ehdr; 243 if (size < sizeof (Ehdr) || 255 ehdr = (Ehdr *)addr; 488 Ehdr *ehdr = (Ehdr *)ADDR(lmp); 1654 Ehdr *ehdr = (Ehdr *)addr;
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | elfdump.c | 121 Ehdr *ehdr; /* ELF header for file */ 464 sections(const char *file, Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi) 546 unwind_eh_frame(Cache *cache, Word shndx, Word shnum, Phdr *uphdr, Ehdr *ehdr, 865 unwind(Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, uchar_t osabi, 977 Ehdr *ehdr, uchar_t osabi, VERSYM_STATE *versym, const char *file, 1321 uchar_t osabi, Ehdr *ehdr, uint_t flags) 1695 cap(const char *file, Cache *cache, Word shnum, Word phnum, Ehdr *ehdr, 1859 syminfo(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, const char *file) 2441 symbols(Cache *cache, Word shnum, Ehdr *ehdr, uchar_t osabi, 2484 sunw_sort(Cache *cache, Word shnum, Ehdr *ehd [all...] |
/illumos-gate/usr/src/cmd/sgs/ldprof/common/ |
H A D | profile.c | 172 Ehdr * ehdr; /* ELF header for file */ 214 ehdr = (Ehdr *)lpc;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 394 Ehdr *ehdr; 409 ehdr = (Ehdr *)(uintptr_t)eadr;
|
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/ |
H A D | phdr.c | 226 Ehdr *ehdr = obj_state->os_ehdr; 351 Ehdr *ehdr = argstate->obj_state->os_ehdr; 690 Ehdr *ehdr = obj_state->os_ehdr; 823 Ehdr *ehdr = obj_state->os_ehdr;
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | ksyms_snapshot.c | 44 Ehdr elf_hdr; /* Elf file header */
|