Searched refs:gf_ehdr (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 100 if (gf->gf_ehdr.e_type == ET_REL && npbit != 0) { in gelf_sect_init() 244 if (IOP_SEEK(gf->gf_io, (off64_t)gf->gf_ehdr.e_shoff, SEEK_SET) == -1) { in gelf_shdrs_init() 366 if (IOP_SEEK(gf->gf_io, (off64_t)gf->gf_ehdr.e_phoff, SEEK_SET) == -1) { in gelf_phdrs_init() 484 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) in mdb_gelf_dyns_set() 496 if (gf->gf_ehdr.e_ident[EI_CLASS] == ELFCLASS32) { in mdb_gelf_dyns_set() 534 if (gf->gf_ehdr.e_type == ET_EXEC && gf->gf_npload != 0) in gelf_dyns_init() 587 bcopy(ehdr->e_ident, gf->gf_ehdr.e_ident, EI_NIDENT); in gelf32_init() 589 gf->gf_ehdr.e_type = ehdr->e_type; in gelf32_init() 590 gf->gf_ehdr.e_machine = ehdr->e_machine; in gelf32_init() 591 gf->gf_ehdr.e_version = ehdr->e_version; in gelf32_init() [all …]
|
H A D | mdb_gelf.h | 55 GElf_Ehdr gf_ehdr; /* ELF file header */ member
|
H A D | mdb_proc.c | 896 (void) mdb_dis_select(pt_disasm(&pt->p_file->gf_ehdr)); in pt_exec() 1670 const GElf_Ehdr *ehp = &pt->p_file->gf_ehdr; in pt_status_dcmd() 1815 const GElf_Ehdr *ehp = &pt->p_file->gf_ehdr; in pt_status_dcmd() 2784 pt->p_file->gf_ehdr.e_type == ET_DYN && in pt_lookup_by_name_thr() 5205 bcopy(&pt->p_file->gf_ehdr, buf, nbytes); in pt_xd_ehdr() 5445 (void) mdb_dis_select(pt_disasm(&pt->p_file->gf_ehdr)); in mdb_proc_tgt_create() 5492 (pt->p_file != NULL && pt->p_file->gf_ehdr.e_type == ET_EXEC)) { in mdb_proc_tgt_create()
|
H A D | mdb_target.c | 1942 e = gf->gf_ehdr.e_entry; in mdb_tgt_elf_export() 1943 bcopy(&gf->gf_ehdr.e_ident[EI_MAG0], &m, sizeof (m)); in mdb_tgt_elf_export()
|
H A D | mdb_kvm.c | 114 km->km_symtab = mdb_gelf_symtab_create_raw(&kt->k_file->gf_ehdr, in kt_load_module()
|
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/ |
H A D | mdb_kb.c | 310 if (gf->gf_ehdr.e_machine == EM_386) in xkb_identify()
|