MCPcopy Create free account
hub / github.com/F-Stack/f-stack / symbol_name

Function symbol_name

freebsd/kern/link_elf_obj.c:1240–1250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238}
1239
1240static const char *
1241symbol_name(elf_file_t ef, Elf_Size r_info)
1242{
1243 const Elf_Sym *ref;
1244
1245 if (ELF_R_SYM(r_info)) {
1246 ref = ef->ddbsymtab + ELF_R_SYM(r_info);
1247 return ef->ddbstrtab + ref->st_name;
1248 } else
1249 return NULL;
1250}
1251
1252static Elf_Addr
1253findbase(elf_file_t ef, int sec)

Callers 1

relocate_fileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected