Lines Matching defs:base
152 lib_info* add_lib_info(struct ps_prochandle* ph, const char* libname, uintptr_t base) {
153 return add_lib_info_fd(ph, libname, -1, base);
156 lib_info* add_lib_info_fd(struct ps_prochandle* ph, const char* libname, int fd, uintptr_t base) {
165 newlib->base = base;
220 uintptr_t res = search_symbol(lib->symtab, lib->base, sym_name, NULL);
236 if (lib->symtab && addr >= lib->base) {
237 res = nearest_symbol(lib->symtab, addr - lib->base, poffset);
361 // get base address of a lib
367 return lib->base;