Searched refs:elf_sym (Results 1 – 7 of 7) sorted by relevance
63 struct elf_sym { struct75 struct elf_sym sym; argument117 static struct elf_sym *elf_sym_iter_next(struct elf_sym_iter *iter) in elf_sym_iter_next()119 struct elf_sym *ret = &iter->sym; in elf_sym_iter_next()156 static unsigned long elf_sym_offset(struct elf_sym *sym) in elf_sym_offset()193 struct elf_sym *sym; in elf_find_func_offset()320 struct elf_sym *sym; in elf_resolve_syms_offsets()401 struct elf_sym *sym; in elf_resolve_pattern_offsets()
99 static void bswap_sym(struct elf_sym *sym) in bswap_sym()119 static void bswap_sym(struct elf_sym *sym) { } in bswap_sym()355 struct elf_sym *sym = (struct elf_sym *)s1; in symfind()370 struct elf_sym *syms = s->disas_symtab.elf32; in lookup_symbolxx()372 struct elf_sym *syms = s->disas_symtab.elf64; in lookup_symbolxx()376 struct elf_sym *sym; in lookup_symbolxx()389 struct elf_sym *sym0 = (struct elf_sym *)s0; in symcmp()390 struct elf_sym *sym1 = (struct elf_sym *)s1; in symcmp()402 struct elf_sym *syms, *new_syms; in load_symbols()446 nsyms = symtab.sh_size / sizeof(struct elf_sym); in load_symbols()
162 Elf_Sym *elf_sym; in get_symbol_from_table() local169 elf_sym = find_elf_symbol(hdr, symtab, name); in get_symbol_from_table()170 if (!elf_sym) in get_symbol_from_table()172 secndx = elf_sym->st_shndx; in get_symbol_from_table()176 s->size = elf_sym->st_size; in get_symbol_from_table()177 s->address = elf_sym->st_value; in get_symbol_from_table()
44 static void glue(bswap_sym, SZ)(struct elf_sym *sym)73 struct elf_sym *sym = (struct elf_sym *)s1;86 struct elf_sym *syms = glue(s->disas_symtab.elf, SZ);87 struct elf_sym *sym;100 struct elf_sym *sym0 = (struct elf_sym *)s0;101 struct elf_sym *sym1 = (struct elf_sym *)s1;112 g_autofree struct elf_sym *syms = NULL;138 nsyms = symtab->sh_size / sizeof(struct elf_sym);
2172 static void bswap_sym(struct elf_sym *sym) in bswap_sym()2194 static inline void bswap_sym(struct elf_sym *sym) { } in bswap_sym()3594 struct elf_sym *sym = (struct elf_sym *)s1; in symfind()3609 struct elf_sym *syms = s->disas_symtab.elf32; in lookup_symbolxx()3611 struct elf_sym *syms = s->disas_symtab.elf64; in lookup_symbolxx()3615 struct elf_sym *sym; in lookup_symbolxx()3628 struct elf_sym *sym0 = (struct elf_sym *)s0; in symcmp()3629 struct elf_sym *sym1 = (struct elf_sym *)s1; in symcmp()3642 struct elf_sym *syms = NULL; in load_symbols()3643 struct elf_sym *new_syms; in load_symbols()[all …]
1771 #define elf_sym elf32_sym macro1787 #define elf_sym elf64_sym macro
313 #undef elf_sym324 #define elf_sym elf64_sym macro