elf_file_t
ef_get_offset(elf_file_t ef, GElf_Addr addr)
ef_lookup_symbol(elf_file_t ef, const char *name, GElf_Sym **sym, bool see_local)
ef_lookup_set(elf_file_t ef, const char *name, GElf_Addr *startp,
ef_symaddr(elf_file_t ef, GElf_Size symidx)
ef_parse_dynamic(elf_file_t ef, const GElf_Phdr *phdyn)
ef_seg_read_rel(elf_file_t ef, GElf_Addr address, size_t len, void *dest)
ef_seg_read_string(elf_file_t ef, GElf_Addr address, size_t len, char *dest)
elf_file_t ef;
ef_close(elf_file_t ef)
static GElf_Off ef_get_offset(elf_file_t, GElf_Addr);
static void ef_close(elf_file_t ef);
static int ef_seg_read_rel(elf_file_t ef, GElf_Addr address, size_t len,
static int ef_seg_read_string(elf_file_t ef, GElf_Addr address, size_t len,
static GElf_Addr ef_symaddr(elf_file_t ef, GElf_Size symidx);
static int ef_lookup_set(elf_file_t ef, const char *name,
static int ef_lookup_symbol(elf_file_t ef, const char *name,
static GElf_Addr ef_obj_symaddr(elf_file_t ef, GElf_Size symidx);
static int ef_obj_lookup_set(elf_file_t ef, const char *name,
static int ef_obj_lookup_symbol(elf_file_t ef, const char *name,
ef_obj_get_offset(elf_file_t ef, GElf_Addr addr)
ef_obj_lookup_symbol(elf_file_t ef, const char *name, GElf_Sym **sym,
ef_obj_lookup_set(elf_file_t ef, const char *name, GElf_Addr *startp,
ef_obj_symaddr(elf_file_t ef, GElf_Size symidx)
ef_obj_seg_read_rel(elf_file_t ef, GElf_Addr address, size_t len, void *dest)
ef_obj_seg_read_string(elf_file_t ef, GElf_Addr address, size_t len, char *dest)
elf_file_t ef;
ef_obj_close(elf_file_t ef)
static void ef_obj_close(elf_file_t ef);
static int ef_obj_seg_read_rel(elf_file_t ef, GElf_Addr address,
static int ef_obj_seg_read_string(elf_file_t ef, GElf_Addr address,
void (*close)(elf_file_t ef);
int (*seg_read_rel)(elf_file_t ef, GElf_Addr address, size_t len,
int (*seg_read_string)(elf_file_t ef, GElf_Addr address, size_t len,
GElf_Addr (*symaddr)(elf_file_t ef, GElf_Size symidx);
int (*lookup_set)(elf_file_t ef, const char *name, GElf_Addr *startp,
int (*lookup_symbol)(elf_file_t ef, const char *name, GElf_Sym **sym,
elf_file_t ef_ef;
__elfN(parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef,
__elfN(lookup_symbol)(elf_file_t ef, const char* name, Elf_Sym *symp,
__elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
is_kernphys_relocatable(elf_file_t ef)
is_tg_kernel_support(struct preloaded_file *fp, elf_file_t ef)
__elfN(load_elf_header)(char *filename, elf_file_t ef)
__elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, uint64_t off)
static int __elfN(loadimage)(struct preloaded_file *mp, elf_file_t ef,
static int __elfN(lookup_symbol)(elf_file_t ef, const char* name,
static int __elfN(reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
static int __elfN(parse_modmetadata)(struct preloaded_file *mp, elf_file_t ef,
__elfN(obj_loadimage)(struct preloaded_file *fp, elf_file_t ef, uint64_t off)
__elfN(obj_parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef)
__elfN(obj_lookup_set)(struct preloaded_file *fp, elf_file_t ef,
__elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef, Elf_Addr p,
static int __elfN(obj_loadimage)(struct preloaded_file *mp, elf_file_t ef,
static int __elfN(obj_lookup_set)(struct preloaded_file *mp, elf_file_t ef,
static int __elfN(obj_reloc_ptr)(struct preloaded_file *mp, elf_file_t ef,
elf_file_t ef);
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t) lf;
elf_file_t ef;
ef = (elf_file_t) lf;
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t) file;
link_elf_unload_preload(elf_file_t ef)
symbol_name(elf_file_t ef, Elf_Size r_info)
symbol_type(elf_file_t ef, Elf_Size r_info)
relocate_file1(elf_file_t ef, elf_lookup_fn lookup, elf_reloc_fn reloc,
relocate_file(elf_file_t ef)
elf_file_t ef = (elf_file_t) lf;
static void link_elf_unload_preload(elf_file_t);
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)file;
elf_file_t ef = (elf_file_t)file;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef;
elf_file_t ef;
ef = (elf_file_t)linker_kernel_file;
static int parse_dynamic(elf_file_t);
static int relocate_file(elf_file_t);
static int relocate_file1(elf_file_t ef, elf_lookup_fn lookup,
static int link_elf_preload_parse_symbols(elf_file_t);
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t) linker_kernel_file;
link_elf_preload_parse_symbols(elf_file_t ef)
parse_dynamic(elf_file_t ef)
parse_dpcpu(elf_file_t ef)
parse_vnet(elf_file_t ef)
preload_protect1(elf_file_t ef, vm_prot_t prot, bool reset)
preload_protect(elf_file_t ef, vm_prot_t prot)
preload_protect_reset(elf_file_t ef, vm_prot_t prot)
elf_file_t ef;
ef = (elf_file_t) lf;
elf_file_t ef;
ef = (elf_file_t) lf;
elf_file_t ef = (elf_file_t) file;
symbol_name(elf_file_t ef, Elf_Size r_info)
findbase(elf_file_t ef, int sec)
relocate_file1(elf_file_t ef, bool ifuncs)
relocate_file(elf_file_t ef)
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t) lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)file;
elf_file_t ef = (elf_file_t)file;
elf_obj_cleanup_globals_cache(elf_file_t ef)
elf_file_t ef = (elf_file_t)lf;
link_elf_fix_link_set(elf_file_t ef)
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t)lf;
elf_file_t ef = (elf_file_t) lf;
static int relocate_file(elf_file_t ef);
static void elf_obj_cleanup_globals_cache(elf_file_t);
link_elf_protect_range(elf_file_t ef, vm_offset_t start, vm_offset_t end,
link_elf_protect(elf_file_t ef)
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t)lf;
elf_file_t ef;
ef = (elf_file_t) lf;