Lines Matching refs:symtab
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() argument
142 link = symtab->sh_link; in find_elf_symbol()
143 symtab_start = (void *)hdr + symtab->sh_offset; in find_elf_symbol()
144 n = symtab->sh_size / symtab->sh_entsize; in find_elf_symbol()
157 static void get_symbol_from_table(Elf_Ehdr *hdr, Elf_Shdr *symtab, in get_symbol_from_table() argument
169 elf_sym = find_elf_symbol(hdr, symtab, name); in get_symbol_from_table()
286 Elf_Shdr *symtab = NULL; in main() local
346 symtab = get_symbol_table(hdr); in main()
347 if (!symtab) { in main()
368 get_symbol_from_table(hdr, symtab, CERT_SYM, &cert_sym); in main()
369 get_symbol_from_table(hdr, symtab, USED_SYM, &used_sym); in main()
370 get_symbol_from_table(hdr, symtab, LSIZE_SYM, &lsize_sym); in main()