Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
symbol.c File Reference
#include <glib.h>
#include "glib_wrapper.h"
#include "arch.h"
#include "target.h"
#include "dwdebug.h"
#include "dwdebug_priv.h"
Include dependency graph for symbol.c:

Go to the source code of this file.

Functions

struct symboltarget_create_synthetic_type_pointer (struct target *target, struct symbol *type)
 
struct bsymbolbsymbol_create (struct lsymbol *lsymbol, struct memregion *region)
 
char * bsymbol_get_name (struct bsymbol *bsymbol)
 
struct symbolbsymbol_get_symbol (struct bsymbol *bsymbol)
 
struct lsymbolbsymbol_get_lsymbol (struct bsymbol *bsymbol)
 
int bsymbol_is_inline (struct bsymbol *bsymbol)
 
struct bsymbolbsymbol_create_noninline (struct bsymbol *bsymbol)
 
REFCNT bsymbol_release (struct bsymbol *bsymbol)
 
REFCNT bsymbol_free (struct bsymbol *bsymbol, int force)
 
void bsymbol_dump (struct bsymbol *bsymbol, struct dump_info *ud)
 
void symbol_type_rvalue_print (FILE *stream, struct symbol *type, void *buf, int bufsiz, load_flags_t flags, struct target *target)
 
void symbol_rvalue_print (FILE *stream, struct symbol *symbol, void *buf, int bufsiz, load_flags_t flags, struct target *target)
 

Function Documentation

struct bsymbol* bsymbol_create ( struct lsymbol lsymbol,
struct memregion region 
)

Bound symbols.

Definition at line 48 of file symbol.c.

struct bsymbol* bsymbol_create_noninline ( struct bsymbol bsymbol)

Definition at line 80 of file symbol.c.

void bsymbol_dump ( struct bsymbol bsymbol,
struct dump_info ud 
)

Definition at line 120 of file symbol.c.

REFCNT bsymbol_free ( struct bsymbol bsymbol,
int  force 
)

Definition at line 96 of file symbol.c.

struct lsymbol* bsymbol_get_lsymbol ( struct bsymbol bsymbol)

Definition at line 70 of file symbol.c.

char* bsymbol_get_name ( struct bsymbol bsymbol)

Bound symbol interface functions – user should not need any more knowledge of bsymbols other than these few functions.

Definition at line 62 of file symbol.c.

struct symbol* bsymbol_get_symbol ( struct bsymbol bsymbol)

Definition at line 66 of file symbol.c.

int bsymbol_is_inline ( struct bsymbol bsymbol)

Definition at line 74 of file symbol.c.

REFCNT bsymbol_release ( struct bsymbol bsymbol)

Definition at line 90 of file symbol.c.

void symbol_rvalue_print ( FILE *  stream,
struct symbol symbol,
void *  buf,
int  bufsiz,
load_flags_t  flags,
struct target target 
)

Definition at line 352 of file symbol.c.

void symbol_type_rvalue_print ( FILE *  stream,
struct symbol type,
void *  buf,
int  bufsiz,
load_flags_t  flags,
struct target target 
)

Definition at line 140 of file symbol.c.

struct symbol* target_create_synthetic_type_pointer ( struct target target,
struct symbol type 
)

Symbol functions.

Definition at line 27 of file symbol.c.