Lines Matching defs:lib
121 lib_info* lib = ph->libs;
122 while (lib) {
123 lib_info *next = lib->next;
124 if (lib->symtab) {
125 destroy_symtab(lib->symtab);
127 free(lib);
128 lib = next;
217 lib_info* lib = ph->libs;
218 while (lib) {
219 if (lib->symtab) {
220 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL);
223 lib = lib->next;
234 lib_info* lib = ph->libs;
235 while (lib) {
236 if (lib->symtab && addr >= lib->base) {
237 res = nearest_symbol(lib->symtab, addr - lib->base, poffset);
240 lib = lib->next;
350 lib_info* lib = ph->libs;
351 while (lib) {
353 return lib->name;
356 lib = lib->next;
361 // get base address of a lib
364 lib_info* lib = ph->libs;
365 while (lib) {
367 return lib->base;
370 lib = lib->next;