Files | |
file | debug.h |
file | symtab.c |
Kernel symbol resolver. | |
Defines | |
#define | CALLER ((__address)__builtin_return_address(0)) |
#define | HERE ((__address *)0) |
#define | ASSERT(expr) |
#define | STRING(arg) STRING_ARG(arg) |
#define | STRING_ARG(arg) #arg |
Functions | |
char * | get_symtab_entry (__native addr) |
static char * | symtab_search_one (const char *name, int *startpos) |
__address | get_symbol_addr (const char *name) |
void | symtab_print_search (const char *name) |
int | symtab_compl (char *input) |
|
|
|
|
Current Instruction Pointer address |
|
|
|
|
|
Return address that corresponds to the entry Search symbol table, and if there is one match, return it
Definition at line 111 of file symtab.c. References __u64_le2host, NULL, strlen(), symbol_table, and symtab_search_one(). Referenced by cmd_call0(), cmd_call1(), cmd_call2(), cmd_call3(), cmd_set4(), and parse_int_arg(). Here is the call graph for this function: ![]() |
|
Return entry that seems most likely to correspond to argument. Return entry that seems most likely to correspond to address passed in the argument.
Definition at line 53 of file symtab.c. References __u64_le2host, symtab_entry::address_le, and symbol_table. Referenced by cmd_call0(), cmd_call1(), cmd_call2(), cmd_call3(), exc_print_cmd(), and PRINT_INFO_ERRCODE(). |
|
Symtab completion
Definition at line 153 of file symtab.c. References MAX_SYMBOL_NAME, name, printf(), strlen(), strncpy(), symbol_table, and symtab_search_one(). Referenced by clever_readline(). Here is the call graph for this function: ![]() |
|
Find symbols that match parameter and prints them Definition at line 132 of file symtab.c. References __u64_le2host, printf(), symtab_entry::symbol_name, symbol_table, and symtab_search_one(). Referenced by cmd_call0(), cmd_call1(), cmd_call2(), cmd_call3(), cmd_set4(), cmd_symaddr(), and parse_int_arg(). Here is the call graph for this function: ![]() |
|
Find symbols that match the parameter forward and print them.
Definition at line 72 of file symtab.c. References strlen(). Referenced by get_symbol_addr(), symtab_compl(), and symtab_print_search(). Here is the call graph for this function: ![]() |