symbol.h File Reference

Back to the index.

Classes | Functions
symbol.h File Reference
#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)
 

Function Documentation

◆ add_symbol_name()

void add_symbol_name ( struct symbol_context ,
uint64_t  addr,
uint64_t  len,
const char *  name,
int  type,
int  n_args 
)

◆ get_symbol_addr()

int get_symbol_addr ( struct symbol_context ,
const char *  symbol,
uint64_t *  addr 
)

◆ get_symbol_name()

char* get_symbol_name ( struct symbol_context ,
uint64_t  addr,
uint64_t *  offset 
)

◆ get_symbol_name_and_n_args()

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 symbol_context::n_symbols.

Referenced by cpu_functioncall_trace(), and get_symbol_name().

◆ symbol_demangle_cplusplus()

char* symbol_demangle_cplusplus ( const char *  name)

Definition at line 236 of file symbol_demangle.cc.

References strlen().

Referenced by add_symbol_name().

◆ symbol_init()

void symbol_init ( struct symbol_context )

◆ symbol_nsymbols()

int symbol_nsymbols ( struct symbol_context )

Definition at line 49 of file symbol.cc.

References symbol_context::n_symbols.

◆ symbol_readfile()

void symbol_readfile ( struct symbol_context ,
char *  fname 
)

◆ symbol_recalc_sizes()

void symbol_recalc_sizes ( struct symbol_context )

Generated on Fri Dec 7 2018 19:52:23 for GXemul by doxygen 1.8.13