#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 "glib_wrapper.h"
Go to the source code of this file.
|
struct scope * | scope_create (struct symbol *symbol, SMOFFSET ref) |
|
char * | scope_get_name (struct scope *scope) |
|
int | scope_insert_symbol (struct scope *scope, struct symbol *symbol) |
|
int | scope_hold_symbol (struct scope *scope, struct symbol *symbol) |
|
int | scope_insert_scope (struct scope *parent, struct scope *child) |
|
int | scope_remove_scope (struct scope *parent, struct scope *child) |
|
int | scope_remove_symbol (struct scope *scope, struct symbol *symbol) |
|
void | scope_update_range (struct scope *scope, ADDR start, ADDR end, int *action) |
|
int | scope_get_sizes (struct scope *scope, int *named, int *duplicated, int *anon, int *numscopes) |
|
int | scope_get_overall_range (struct scope *scope, ADDR *low_addr_saveptr, ADDR *high_addr_saveptr, int *is_noncontiguous) |
|
REFCNT | scope_free (struct scope *scope, int force) |
|
void | scope_dump (struct scope *scope, struct dump_info *ud) |
|
int | scope_contains_addr (struct scope *scope, ADDR addr) |
|
struct scope * | scope_lookup_addr (struct scope *scope, ADDR addr) |
|
struct lsymbol * | scope_lookup_sym__int (struct scope *scope, const char *name, const char *delim, symbol_type_flag_t flags) |
|
struct lsymbol * | scope_lookup_sym (struct scope *scope, const char *name, const char *delim, symbol_type_flag_t flags) |
|
struct symbol * | scope_get_sym (struct scope *scope, const char *name, symbol_type_flag_t flags) |
|
GSList * | scope_match_syms (struct scope *scope, struct rfilter *symbol_filter, symbol_type_flag_t flags) |
|
int scope_contains_addr |
( |
struct scope * |
scope, |
|
|
ADDR |
addr |
|
) |
| |
Scopes.
Definition at line 37 of file scope.c.
char* scope_get_name |
( |
struct scope * |
scope | ) |
|
int scope_get_overall_range |
( |
struct scope * |
scope, |
|
|
ADDR * |
low_addr_saveptr, |
|
|
ADDR * |
high_addr_saveptr, |
|
|
int * |
is_noncontiguous |
|
) |
| |
int scope_get_sizes |
( |
struct scope * |
scope, |
|
|
int * |
named, |
|
|
int * |
duplicated, |
|
|
int * |
anon, |
|
|
int * |
numscopes |
|
) |
| |
int scope_hold_symbol |
( |
struct scope * |
scope, |
|
|
struct symbol * |
symbol |
|
) |
| |
int scope_insert_scope |
( |
struct scope * |
parent, |
|
|
struct scope * |
child |
|
) |
| |
int scope_insert_symbol |
( |
struct scope * |
scope, |
|
|
struct symbol * |
symbol |
|
) |
| |
Scope (PC) lookup functions.
Definition at line 528 of file scope.c.
int scope_remove_scope |
( |
struct scope * |
parent, |
|
|
struct scope * |
child |
|
) |
| |
int scope_remove_symbol |
( |
struct scope * |
scope, |
|
|
struct symbol * |
symbol |
|
) |
| |
void scope_update_range |
( |
struct scope * |
scope, |
|
|
ADDR |
start, |
|
|
ADDR |
end, |
|
|
int * |
action |
|
) |
| |