Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/debug/
Dkallsyms.c35 struct kernel_symbol_entry_t *symbol_table; variable
88symbol_table = (struct kernel_symbol_entry_t *)realloc(symbol_table, sizeof(struct kernel_symbol_e… in read_map()
92 if (read_symbol(filp, &symbol_table[entry_count]) == 0) in read_map()
99 if (strcmp(symbol_table[i].symbol, "_text")==0) in read_map()
100 text_vaddr = symbol_table[i].vaddr; in read_map()
101 if (strcmp(symbol_table[i].symbol, "_etext")==0) in read_map()
102 etext_vaddr = symbol_table[i].vaddr; in read_map()
125 if (!symbol_to_write(symbol_table[i].vaddr, text_vaddr, etext_vaddr)) in generate_result()
128 if (symbol_table[i].vaddr == last_vaddr) in generate_result()
132 printf("\t.quad\t%#llx\n", symbol_table[i].vaddr); in generate_result()
[all …]