GElf_Phdr
gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * npbit, UM_SLEEP);
static const GElf_Phdr *
const GElf_Phdr *gpp = gf->gf_phdrs;
const GElf_Phdr *php = gelf_phdr_lookup(gf, addr);
static GElf_Phdr *
gelf32_to_phdr(const Elf32_Phdr *src, GElf_Phdr *dst)
static GElf_Phdr *
gelf64_to_phdr(const Elf64_Phdr *src, GElf_Phdr *dst)
GElf_Phdr *lhs = (GElf_Phdr *)lp;
GElf_Phdr *rhs = (GElf_Phdr *)rp;
GElf_Phdr *(*elf2gelf)(const void *, GElf_Phdr *))
GElf_Phdr *gpp;
gf->gf_phdrs = mdb_zalloc(sizeof (GElf_Phdr) * gf->gf_phnum, UM_SLEEP);
qsort(gf->gf_phdrs, gf->gf_phnum, sizeof (GElf_Phdr),
GElf_Phdr *gpp;
(GElf_Phdr *(*)(const void *, GElf_Phdr *))gelf32_to_phdr) == NULL)
(GElf_Phdr *(*)(const void *, GElf_Phdr *))gelf64_to_phdr) == NULL)
mdb_free(gf->gf_phdrs, gf->gf_phnum * sizeof (GElf_Phdr));
GElf_Phdr *gf_phdrs; /* Array of program headers */
GElf_Phdr *gf_dynp; /* Pointer to PT_DYNAMIC phdr */
GElf_Phdr *gpp = kpf->kpf_file->gf_phdrs;
const GElf_Phdr *text = NULL, *data = NULL;
GElf_Phdr phdr;
GElf_Phdr p_phdr;
GElf_Phdr p_phdr;
GElf_Phdr phdr;
GElf_Phdr phdr;
GElf_Phdr phdr;
GElf_Phdr *
gelf_getphdr(Elf *elf, int ndx, GElf_Phdr *dst)
*dst = ((GElf_Phdr *)phdrs)[ndx];
gelf_update_phdr(Elf *elf, int ndx, GElf_Phdr *src)
dst[ndx] = *(GElf_Phdr *)src;
GElf_Phdr phdr, tphdr;
GElf_Phdr ph;
GElf_Phdr dst;
GElf_Phdr src;
(void) memcpy(&dst, &src, sizeof (GElf_Phdr));
GElf_Phdr p;
GElf_Phdr * gelf_getphdr(Elf *, int, GElf_Phdr *);
int gelf_update_phdr(Elf *, int, GElf_Phdr *);
GElf_Phdr phdr;
core_report_mapping(struct ps_prochandle *P, GElf_Phdr *php)
core_add_mapping(struct ps_prochandle *P, GElf_Phdr *php)
core_phdr_to_gelf(const Elf32_Phdr *src, GElf_Phdr *dst)
GElf_Phdr phdr;
GElf_Phdr phdr;
GElf_Phdr phdr;
GElf_Phdr phdr, note_phdr;
(void) memcpy(&phdr, php, sizeof (GElf_Phdr));
idle_add_mapping(struct ps_prochandle *P, GElf_Phdr *php, file_info_t *fp)
GElf_Phdr phdr, *php;