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 | Variables
symdict.c File Reference
#include <stdlib.h>
#include <errno.h>
#include <glib.h>
#include "config.h"
#include "common.h"
#include "log.h"
#include "list.h"
#include "alist.h"
#include "dwdebug_priv.h"
#include "dwdebug.h"
Include dependency graph for symdict.c:

Go to the source code of this file.

Functions

struct symdictsymdict_create (void)
 
int symdict_get_size_simple (struct symdict *symdict)
 
int symdict_get_size (struct symdict *symdict)
 
int symdict_get_size_named (struct symdict *symdict)
 
int symdict_get_sizes (struct symdict *symdict, int *named, int *duplicated, int *anon)
 
int symdict_insert_symbol (struct symdict *symdict, struct symbol *symbol)
 
int symdict_insert_symbol_anon (struct symdict *symdict, struct symbol *symbol)
 
int symdict_remove_symbol (struct symdict *symdict, struct symbol *symbol)
 
void symdict_free (struct symdict *symdict, symdict_symbol_dtor_t ssd, void *priv)
 
void symdict_dump (struct symdict *symdict, struct dump_info *ud)
 
struct symbolsymdict_get_sym (struct symdict *symdict, const char *name, symbol_type_flag_t flags)
 
GSList * symdict_match_syms_by_tab (struct symdict *symdict, struct rfilter *symbol_filter, symbol_type_flag_t flags, int no_main, int no_dup, int no_anon)
 
GSList * symdict_match_syms (struct symdict *symdict, struct rfilter *symbol_filter, symbol_type_flag_t flags)
 

Variables

symdict_symbol_dtor_t default_symdict_symbol_dtor
 

Function Documentation

struct symdict* symdict_create ( void  )

Symdicts.

Definition at line 35 of file symdict.c.

void symdict_dump ( struct symdict symdict,
struct dump_info ud 
)

Definition at line 317 of file symdict.c.

void symdict_free ( struct symdict symdict,
symdict_symbol_dtor_t  ssd,
void *  priv 
)

Definition at line 271 of file symdict.c.

int symdict_get_size ( struct symdict symdict)

Definition at line 68 of file symdict.c.

int symdict_get_size_named ( struct symdict symdict)

Definition at line 89 of file symdict.c.

int symdict_get_size_simple ( struct symdict symdict)

Definition at line 55 of file symdict.c.

int symdict_get_sizes ( struct symdict symdict,
int *  named,
int *  duplicated,
int *  anon 
)

Definition at line 108 of file symdict.c.

struct symbol* symdict_get_sym ( struct symdict symdict,
const char *  name,
symbol_type_flag_t  flags 
)

Symdict lookup functions.

Definition at line 348 of file symdict.c.

int symdict_insert_symbol ( struct symdict symdict,
struct symbol symbol 
)

Definition at line 141 of file symdict.c.

int symdict_insert_symbol_anon ( struct symdict symdict,
struct symbol symbol 
)

Definition at line 201 of file symdict.c.

GSList* symdict_match_syms ( struct symdict symdict,
struct rfilter symbol_filter,
symbol_type_flag_t  flags 
)

Definition at line 481 of file symdict.c.

GSList* symdict_match_syms_by_tab ( struct symdict symdict,
struct rfilter symbol_filter,
symbol_type_flag_t  flags,
int  no_main,
int  no_dup,
int  no_anon 
)

Definition at line 419 of file symdict.c.

int symdict_remove_symbol ( struct symdict symdict,
struct symbol symbol 
)

Definition at line 223 of file symdict.c.

Variable Documentation

symdict_symbol_dtor_t default_symdict_symbol_dtor
Initial value:
=
_symdict_symbol_dtor

Definition at line 268 of file symdict.c.