Home
last modified time | relevance | path

Searched refs:symbol_name (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/debug/
H A Dkallsyms.c60 char symbol_name[512] = {0}; in read_symbol() local
61 int retval = sscanf(str, "%llx %c %512c", &entry->vaddr, &entry->type, symbol_name); in read_symbol()
69 size_t len = strlen(symbol_name); in read_symbol()
70 if (len >= 1 && symbol_name[len - 1] == '\n') in read_symbol()
72 symbol_name[len - 1] = '\0'; in read_symbol()
78 if (symbol_name[i] == '"') in read_symbol()
81 memcpy(temp, symbol_name + i, len - i); in read_symbol()
82 symbol_name[i] = '\\'; in read_symbol()
83 memcpy(symbol_name + i + 1, temp, len - i); in read_symbol()
87 entry->symbol = strdup(symbol_name); in read_symbol()