Lines Matching refs:sym_path
29 * sym_path - Buffer, where to save path to the symbols file path for the givem
32 * max_char - Character size of the buffer addressed by sym_path parameter.
34 * 0 on success, or -1 if symbols file has not been found, or sym_path buffer
38 get_sym_path(const char* module_path, char* sym_path, size_t max_char)
45 strcpy(sym_path, sym_path_root);
47 if (sym_path[strlen(sym_path)-1] != PATH_SEP_C) {
48 strcat(sym_path, PATH_SEP);
54 strcat(sym_path, "symbols");
59 strcat(sym_path, module_path);
64 while (!path_exists(sym_path)) {
66 char* name = strrchr(sym_path, PATH_SEP_C);
70 char* parent = strrchr(sym_path, PATH_SEP_C);
73 if (strcmp(sym_path, sym_path_root) == 0) {
235 char sym_path[MAX_PATH];
238 if (get_sym_path(rdesc->path, sym_path, MAX_PATH)) {
242 handle = elff_init(sym_path);