#include "misc.h"Go to the source code of this file.
Classes | |
| struct | symbol |
| struct | symbol_context |
Functions | |
| int | symbol_nsymbols (struct symbol_context *) |
| int | get_symbol_addr (struct symbol_context *, const char *symbol, uint64_t *addr) |
| char * | get_symbol_name_and_n_args (struct symbol_context *, uint64_t addr, uint64_t *offset, int *n_argsp) |
| char * | get_symbol_name (struct symbol_context *, uint64_t addr, uint64_t *offset) |
| void | add_symbol_name (struct symbol_context *, uint64_t addr, uint64_t len, const char *name, int type, int n_args) |
| void | symbol_readfile (struct symbol_context *, char *fname) |
| void | symbol_recalc_sizes (struct symbol_context *) |
| void | symbol_init (struct symbol_context *) |
| char * | symbol_demangle_cplusplus (const char *name) |
| void add_symbol_name | ( | struct symbol_context * | , |
| uint64_t | addr, | ||
| uint64_t | len, | ||
| const char * | name, | ||
| int | type, | ||
| int | n_args | ||
| ) |
Definition at line 199 of file symbol.cc.
References symbol::addr, addr, CHECK_ALLOCATION, symbol_context::first_symbol, symbol::len, symbol::n_args, symbol_context::n_symbols, symbol::name, symbol::next, symbol_context::sorted_array, symbol_demangle_cplusplus(), and symbol::type.
Referenced by MACHINE_SETUP(), and symbol_readfile().
| int get_symbol_addr | ( | struct symbol_context * | , |
| const char * | symbol, | ||
| uint64_t * | addr | ||
| ) |
Definition at line 63 of file symbol.cc.
References symbol::addr, addr, symbol_context::first_symbol, symbol_context::n_symbols, symbol::name, symbol::next, and symbol_context::sorted_array.
Referenced by debugger_parse_name().
| char* get_symbol_name | ( | struct symbol_context * | , |
| uint64_t | addr, | ||
| uint64_t * | offset | ||
| ) |
Definition at line 188 of file symbol.cc.
References addr, and get_symbol_name_and_n_args().
Referenced by alpha_cpu_disassemble_instr(), alpha_cpu_register_dump(), arm_cpu_disassemble_instr(), arm_cpu_interpret_thumb_SLOW(), arm_cpu_register_dump(), cpu_show_cycles(), m88k_cpu_disassemble_instr(), m88k_cpu_register_dump(), memory_warn_about_unimplemented_addr(), mips_cpu_disassemble_instr(), mips_cpu_exception(), mips_cpu_register_dump(), ppc_cpu_disassemble_instr(), ppc_cpu_register_dump(), sh_cpu_disassemble_instr(), and sh_cpu_register_dump().
| char* get_symbol_name_and_n_args | ( | struct symbol_context * | , |
| uint64_t | addr, | ||
| uint64_t * | offset, | ||
| int * | n_argsp | ||
| ) |
Definition at line 110 of file symbol.cc.
References addr, and symbol_context::n_symbols.
Referenced by cpu_functioncall_trace(), and get_symbol_name().
| char* symbol_demangle_cplusplus | ( | const char * | name | ) |
Definition at line 236 of file symbol_demangle.cc.
References symbol::name, and strlen().
Referenced by add_symbol_name().
| void symbol_init | ( | struct symbol_context * | ) |
Definition at line 415 of file symbol.cc.
References symbol_context::first_symbol, symbol_context::n_symbols, and symbol_context::sorted_array.
Referenced by machine_new().
| int symbol_nsymbols | ( | struct symbol_context * | ) |
Definition at line 49 of file symbol.cc.
References symbol_context::n_symbols.
| void symbol_readfile | ( | struct symbol_context * | , |
| char * | fname | ||
| ) |
Definition at line 284 of file symbol.cc.
References add_symbol_name(), addr, debug, f(), symbol::len, symbol_context::n_symbols, strlen(), and symbol::type.
| void symbol_recalc_sizes | ( | struct symbol_context * | ) |
Definition at line 362 of file symbol.cc.
References symbol::addr, CHECK_ALLOCATION, symbol_context::first_symbol, symbol::len, symbol_context::n_symbols, symbol::next, symbol_context::sorted_array, and sym_addr_compare().
1.8.17