/freebsd/usr.sbin/kldxref/ |
H A D | ef.h | 59 struct elf_file; 92 struct elf_file { struct 144 int ef_open(struct elf_file *ef, int verbose); 145 int ef_obj_open(struct elf_file *ef, int verbose); 156 int elf_open_file(struct elf_file *efile, const char *filename, 160 void elf_close_file(struct elf_file *efile); 166 size_t elf_object_size(struct elf_file *efile, Elf_Type type); 169 size_t elf_pointer_size(struct elf_file *efile); 212 int elf_read_phdrs(struct elf_file *efile, size_t *nphdrp, 219 int elf_read_shdrs(struct elf_file *efile, size_t *nshdrp, [all …]
|
H A D | elf.c | 127 elf_close_file(struct elf_file *efile) in elf_close_file() 143 elf_compatible(struct elf_file *efile, const GElf_Ehdr *hdr) in elf_compatible() 153 elf_object_size(struct elf_file *efile, Elf_Type type) in elf_object_size() 418 elf_read_string_table(struct elf_file *efile, const GElf_Shdr *shdr, in elf_read_string_table() 506 elf_pointer_size(struct elf_file *efile) in elf_pointer_size() 512 elf_int(struct elf_file *efile, const void *p) in elf_int() 521 elf_address_from_pointer(struct elf_file *efile, const void *p) in elf_address_from_pointer() 584 elf_read_mod_depend(struct elf_file *efile, GElf_Addr addr, in elf_read_mod_depend() 604 elf_read_mod_version(struct elf_file *efile, GElf_Addr addr, in elf_read_mod_version() 619 elf_read_mod_metadata(struct elf_file *efile, GElf_Addr addr, in elf_read_mod_metadata() [all …]
|
H A D | kldxref.c | 263 parse_pnp_list(struct elf_file *ef, const char *desc, char **new_desc, in parse_pnp_list() 448 parse_pnp_entry(struct elf_file *ef, struct pnp_elt *elt, const char *walker) in parse_pnp_entry() 521 record_pnp_info(struct elf_file *ef, const char *cval, in record_pnp_info() 572 struct elf_file *ef, const char *kldname) in parse_entry() 634 struct elf_file ef; in read_kld()
|
H A D | ef_aarch64.c | 42 ef_aarch64_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_aarch64_reloc()
|
H A D | ef_riscv.c | 47 ef_riscv_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_riscv_reloc()
|
H A D | ef_arm.c | 45 ef_arm_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_arm_reloc()
|
H A D | ef_i386.c | 44 ef_i386_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_i386_reloc()
|
H A D | ef_powerpc.c | 44 ef_ppc_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_ppc_reloc()
|
H A D | ef_amd64.c | 44 ef_amd64_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_amd64_reloc()
|
H A D | ef_mips.c | 47 ef_mips_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype, in ef_mips_reloc()
|
H A D | ef_obj.c | 71 struct elf_file *ef_efile; 264 ef_obj_open(struct elf_file *efile, int verbose) in ef_obj_open()
|
H A D | ef.c | 49 struct elf_file *ef_efile; 565 ef_open(struct elf_file *efile, int verbose) in ef_open()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_link.c | 64 elf_file.shdr[(index)].sh_size) 469 } elf_file; in dump_elf32() local 486 bzero(&elf_file, sizeof (elf_file)); in dump_elf32() 500 elf_file.ehdr.e_type = ET_REL; in dump_elf32() 575 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf32() 595 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf32() 623 } elf_file; in dump_elf64() local 640 bzero(&elf_file, sizeof (elf_file)); in dump_elf64() 659 elf_file.ehdr.e_flags = 2; in dump_elf64() 732 sizeof (elf_file)) != sizeof (elf_file) || in dump_elf64() [all …]
|
/freebsd/stand/common/ |
H A D | bootstrap.h | 294 struct elf_file; 295 typedef Elf_Addr (symaddr_fn)(struct elf_file *ef, Elf_Size symidx); 299 int __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr,
|
H A D | load_elf_obj.c | 50 typedef struct elf_file { struct 78 static Elf_Addr __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx); argument 93 struct elf_file ef; in __elfN() 99 bzero(&ef, sizeof(struct elf_file)); in __elfN() 565 __elfN(obj_symaddr)(struct elf_file *ef, Elf_Size symidx) in __elfN()
|
H A D | load_elf.c | 50 typedef struct elf_file { struct 370 struct elf_file ef; in __elfN() 375 bzero(&ef, sizeof(struct elf_file)); in __elfN() 993 struct elf_file ef; 1001 bzero(&ef, sizeof(struct elf_file)); 1318 __elfN(symaddr)(struct elf_file *ef, Elf_Size symidx)
|
H A D | reloc_elf.c | 48 __elfN(reloc)(struct elf_file *ef, symaddr_fn *symaddr, const void *reldata, in __elfN()
|
/freebsd/sys/kern/ |
H A D | link_elf.c | 77 typedef struct elf_file { struct 203 link_elf_methods, sizeof(struct elf_file) 2021 struct elf_file eff; in link_elf_ireloc()
|
H A D | link_elf_obj.c | 91 typedef struct elf_file { struct 191 link_elf_methods, sizeof(struct elf_file)
|
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/ |
H A D | DynamicTags.def | 95 …atform/bionic/+/6f12bfece5dcc01325e0abba56a46b1bcf991c69/tools/relocation_packer/src/elf_file.cc#31
|