Home
last modified time | relevance | path

Searched refs:gf_ehdr (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c100 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 Dmdb_gelf.h55 GElf_Ehdr gf_ehdr; /* ELF file header */ member
H A Dmdb_proc.c896 (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 Dmdb_target.c1942 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 Dmdb_kvm.c114 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 Dmdb_kb.c310 if (gf->gf_ehdr.e_machine == EM_386) in xkb_identify()