/src/usr.sbin/mdsetimage/ |
exec_elf32.c | 59 const Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 64 if (check(0, sizeof *ehdrp)) 66 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 68 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 69 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 72 switch (ehdrp->e_machine) { 87 const Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 100 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 101 nphdr = ehdrp->e_phnum; 102 phdr_off = ehdrp->e_phoff [all...] |
exec_elf32.c | 59 const Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 64 if (check(0, sizeof *ehdrp)) 66 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 68 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 69 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 72 switch (ehdrp->e_machine) { 87 const Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 100 ehdrp = (const Elf_Ehdr *)&mappedfile[0]; 101 nphdr = ehdrp->e_phnum; 102 phdr_off = ehdrp->e_phoff [all...] |
/src/lib/libc/gen/ |
nlist_elf32.c | 89 Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 233 if (check(0, sizeof *ehdrp)) 235 ehdrp = (Elf_Ehdr *)(void *)&mappedfile[0]; 240 nshdr = ehdrp->e_shnum; 241 shdr_off = ehdrp->e_shoff; 242 shdr_size = ehdrp->e_shentsize * nshdr; 245 (sizeof *shdrp != ehdrp->e_shentsize))
|
nlist_elf32.c | 89 Elf_Ehdr *ehdrp; local in function:ELFNAMEEND 233 if (check(0, sizeof *ehdrp)) 235 ehdrp = (Elf_Ehdr *)(void *)&mappedfile[0]; 240 nshdr = ehdrp->e_shnum; 241 shdr_off = ehdrp->e_shoff; 242 shdr_size = ehdrp->e_shentsize * nshdr; 245 (sizeof *shdrp != ehdrp->e_shentsize))
|
/src/usr.sbin/kvm_mkdb/ |
nlist_elf32.c | 102 Elf_Ehdr *ehdrp; variable in typeref:typename:Elf_Ehdr * 183 if (check(0, sizeof *ehdrp)) 185 ehdrp = (Elf_Ehdr *)&mappedfile[0]; 187 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 188 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 191 switch (ehdrp->e_machine) { 206 nshdr = ehdrp->e_shnum; 207 shdr_off = ehdrp->e_shoff; 208 shdr_size = ehdrp->e_shentsize * nshdr; 211 (sizeof *shdrp != ehdrp->e_shentsize) [all...] |
nlist_elf32.c | 102 Elf_Ehdr *ehdrp; variable in typeref:typename:Elf_Ehdr * 183 if (check(0, sizeof *ehdrp)) 185 ehdrp = (Elf_Ehdr *)&mappedfile[0]; 187 if (memcmp(ehdrp->e_ident, ELFMAG, SELFMAG) != 0 || 188 ehdrp->e_ident[EI_CLASS] != ELFCLASS) 191 switch (ehdrp->e_machine) { 206 nshdr = ehdrp->e_shnum; 207 shdr_off = ehdrp->e_shoff; 208 shdr_size = ehdrp->e_shentsize * nshdr; 211 (sizeof *shdrp != ehdrp->e_shentsize) [all...] |