|
enum | debugfile_load_flags_t {
DEBUGFILE_LOAD_FLAG_NONE = 0,
DEBUGFILE_LOAD_FLAG_CUHEADERS = 1 << 0,
DEBUGFILE_LOAD_FLAG_PUBNAMES = 1 << 1,
DEBUGFILE_LOAD_FLAG_NODWARF = 1 << 2,
DEBUGFILE_LOAD_FLAG_ALLRANGES = 1 << 3,
DEBUGFILE_LOAD_FLAG_KEEPDECLS = 1 << 4,
DEBUGFILE_LOAD_FLAG_PARTIALSYM = 1 << 8,
DEBUGFILE_LOAD_FLAG_REDUCETYPES = 1 << 17,
DEBUGFILE_LOAD_FLAG_REDUCETYPES_FULL_EQUIV = 1 << 18
} |
|
enum | symbol_type_t {
SYMBOL_TYPE_NONE = 0,
SYMBOL_TYPE_ROOT = 1,
SYMBOL_TYPE_TYPE = 2,
SYMBOL_TYPE_VAR = 3,
SYMBOL_TYPE_FUNC = 4,
SYMBOL_TYPE_LABEL = 5,
SYMBOL_TYPE_BLOCK = 6
} |
|
enum | symbol_source_t { SYMBOL_SOURCE_DWARF = 0,
SYMBOL_SOURCE_ELF = 1,
SYMBOL_SOURCE_PHP = 2
} |
|
enum | load_type_t { LOADTYPE_UNLOADED = 0,
LOADTYPE_FULL = 1,
LOADTYPE_PARTIAL = 2
} |
|
enum | symbol_type_flag_t {
SYMBOL_TYPE_FLAG_NONE = 0,
SYMBOL_TYPE_FLAG_ROOT = 1 << SYMBOL_TYPE_ROOT,
SYMBOL_TYPE_FLAG_TYPE = 1 << SYMBOL_TYPE_TYPE,
SYMBOL_TYPE_FLAG_VAR = 1 << SYMBOL_TYPE_VAR,
SYMBOL_TYPE_FLAG_FUNC = 1 << SYMBOL_TYPE_FUNC,
SYMBOL_TYPE_FLAG_LABEL = 1 << SYMBOL_TYPE_LABEL,
SYMBOL_TYPE_FLAG_BLOCK = 1 << SYMBOL_TYPE_BLOCK,
SYMBOL_TYPE_FLAG_VAR_ARG = 1 << 24,
SYMBOL_TYPE_FLAG_VAR_LOCAL = 1 << 25,
SYMBOL_TYPE_FLAG_VAR_GLOBAL = 1 << 26,
SYMBOL_TYPE_FLAG_VAR_MEMBER = 1 << 27
} |
|
enum | datatype_code_t {
DATATYPE_VOID = 0,
DATATYPE_ARRAY = 1,
DATATYPE_STRUCT = 2,
DATATYPE_ENUM = 3,
DATATYPE_PTR = 4,
DATATYPE_REF = 5,
DATATYPE_FUNC = 6,
DATATYPE_TYPEDEF = 7,
DATATYPE_UNION = 8,
DATATYPE_BASE = 9,
DATATYPE_CONST = 10,
DATATYPE_VOL = 11,
DATATYPE_NAMESPACE = 12,
DATATYPE_CLASS = 13,
DATATYPE_TEMPLATE = 14,
DATATYPE_DYNAMIC = 15
} |
|
enum | loctype_t {
LOCTYPE_ADDR_ERR = -1,
LOCTYPE_UNKNOWN = 0,
LOCTYPE_ADDR = 1,
LOCTYPE_REG = 2,
LOCTYPE_REG_ADDR = 3,
LOCTYPE_REG_OFFSET = 4,
LOCTYPE_MEMBER_OFFSET = 5,
LOCTYPE_FBREG_OFFSET = 6,
LOCTYPE_LOCLIST = 7,
LOCTYPE_REALADDR = 8,
LOCTYPE_IMPLICIT_WORD = 9,
LOCTYPE_IMPLICIT_DATA = 10,
LOCTYPE_RUNTIME = 11
} |
|
enum | encoding_t {
ENCODING_ADDRESS = 1,
ENCODING_BOOLEAN = 2,
ENCODING_COMPLEX_FLOAT = 3,
ENCODING_FLOAT = 4,
ENCODING_SIGNED = 5,
ENCODING_SIGNED_CHAR =6,
ENCODING_UNSIGNED = 7,
ENCODING_UNSIGNED_CHAR = 8,
ENCODING_IMAGINARY_FLOAT = 9,
ENCODING_PACKED_DECIMAL = 10,
ENCODING_NUMERIC_STRING = 11,
ENCODING_EDITED = 12,
ENCODING_SIGNED_FIXED = 13,
ENCODING_UNSIGNED_FIXED = 14,
ENCODING_STRING = 32,
ENCODING_HASH = 33
} |
|
enum | debugfile_type_t { DEBUGFILE_TYPE_NONE = 0,
DEBUGFILE_TYPE_ELF = 1 << 0,
DEBUGFILE_TYPE_DWARF = 1 << 1,
DEBUGFILE_TYPE_PHP = 1 << 1
} |
|
enum | debugfile_type_flag_t { DEBUGFILE_TYPE_FLAG_NONE = 0,
DEBUGFILE_TYPE_FLAG_KERNEL = 1 << 0,
DEBUGFILE_TYPE_FLAG_KMOD = 1 << 1
} |
|
|
void | dwdebug_init (void) |
|
void | dwdebug_fini (void) |
|
void | dwdebug_evict (struct debugfile *debugfile) |
|
void | dwdebug_evict_all (void) |
|
char * | SYMBOL_TYPE (int n) |
|
char * | SYMBOL_SOURCE (int n) |
|
char * | DATATYPE (int n) |
|
struct location * | location_create (void) |
|
void | location_free (struct location *location) |
|
struct debugfile * | debugfile_from_file (char *filename, char *root_prefix, struct array_list *debugfile_load_opts_list) |
|
struct debugfile * | debugfile_from_instance (struct binfile_instance *bfinst, struct array_list *debugfile_load_opts_list) |
|
struct debugfile * | debugfile_from_binfile (struct binfile *binfile, struct array_list *debugfile_load_opts_list) |
|
char * | debugfile_search_path (char *filename, char *root_prefix, char *debug_postfix, const char *DFPATH[], char *buf, int buflen) |
|
struct array_list * | debugfile_get_loaded_debugfiles () |
|
struct debugfile_load_opts * | debugfile_load_opts_parse (char *optstr) |
|
int | debugfile_load_opts_checklist (struct array_list *opts_list, char *name, struct debugfile_load_opts **match_saveptr) |
|
void | debugfile_load_opts_free (struct debugfile_load_opts *opts) |
|
char * | debugfile_get_name (struct debugfile *debugfile) |
|
char * | debugfile_get_version (struct debugfile *debugfile) |
|
int | debugfile_filename_info (char *filename, char **realfilename, char **name, char **version) |
|
void | debugfile_dump (struct debugfile *debugfile, struct dump_info *ud, int types, int globals, int symtabs, int elfsymtab, int doranges) |
|
struct symbol * | symbol_create (symbol_type_t symtype, symbol_source_t source, char *name, int name_copy, SMOFFSET offset, load_type_t loadtype, struct scope *scope) |
|
char * | symbol_get_name (struct symbol *symbol) |
|
char * | symbol_get_name_inline (struct symbol *symbol) |
|
char * | symbol_get_srcfile (struct symbol *symbol) |
|
int | symbol_get_srcline (struct symbol *symbol) |
|
char * | symbol_get_compdirname (struct symbol *symbol) |
|
symbol_type_t | symbol_get_type (struct symbol *symbol) |
|
symbol_source_t | symbol_get_source (struct symbol *symbol) |
|
struct symbol * | symbol_get_datatype (struct symbol *symbol) |
|
struct symbol * | symbol_get_datatype_real (struct symbol *symbol) |
|
struct symbol * | symbol_get_inline_origin (struct symbol *symbol) |
|
int | symbol_is_synthetic (struct symbol *symbol) |
|
int | symbol_is_external (struct symbol *symbol) |
|
int | symbol_is_definition (struct symbol *symbol) |
|
int | symbol_is_declaration (struct symbol *symbol) |
|
int | symbol_is_decldefined (struct symbol *symbol) |
|
int | symbol_is_prototyped (struct symbol *symbol) |
|
int | symbol_is_parameter (struct symbol *symbol) |
|
int | symbol_is_member (struct symbol *symbol) |
|
int | symbol_is_enumerator (struct symbol *symbol) |
|
int | symbol_is_inlineinstance (struct symbol *symbol) |
|
int | symbol_has_addr (struct symbol *symbol) |
|
int | symbol_has_unspecified_parameters (struct symbol *symbol) |
|
int | symbol_is_inlined (struct symbol *symbol) |
|
int | symbol_is_declinline (struct symbol *symbol) |
|
int | symbol_is_bitsize (struct symbol *symbol) |
|
int | symbol_is_bytesize (struct symbol *symbol) |
|
uint32_t | symbol_get_bytesize (struct symbol *symbol) |
|
uint32_t | symbol_get_bitsize (struct symbol *symbol) |
|
uint32_t | symbol_get_bitoffset (struct symbol *symbol) |
|
uint32_t | symbol_get_bitctbytes (struct symbol *symbol) |
|
ADDR | symbol_get_addr (struct symbol *symbol) |
|
int | symbol_type_flags_match (struct symbol *symbol, symbol_type_flag_t flags) |
|
struct symbol * | symbol_find_parent (struct symbol *symbol) |
|
struct symbol * | symbol_find_root (struct symbol *symbol) |
|
int | symbol_contains_addr (struct symbol *symbol, ADDR obj_addr) |
|
int | symbol_type_equal (struct symbol *t1, struct symbol *t2, GHashTable *eqcache, GHashTable *updated_datatype_refs) |
|
int | symbol_type_is_char (struct symbol *type) |
|
unsigned int | symbol_type_array_bytesize (struct symbol *type) |
|
unsigned int | symbol_type_full_bytesize (struct symbol *type) |
|
struct symbol * | symbol_type_skip_ptrs (struct symbol *type) |
|
struct symbol * | symbol_type_skip_qualifiers (struct symbol *type) |
|
void | symbol_dump (struct symbol *symbol, struct dump_info *ud) |
|
void | symbol_type_dump (struct symbol *symbol, struct dump_info *ud) |
|
void | symbol_function_dump (struct symbol *symbol, struct dump_info *ud) |
|
void | symbol_var_dump (struct symbol *symbol, struct dump_info *ud) |
|
GSList * | symbol_get_ordered_members (struct symbol *symbol, symbol_type_flag_t flags) |
|
GSList * | symbol_get_members (struct symbol *symbol, symbol_type_flag_t flags) |
|
loctype_t | symbol_resolve_location (struct symbol *symbol, struct location_ctxt *lctxt, struct location *o_loc) |
|
int | symbol_resolve_bounds (struct symbol *symbol, struct location_ctxt *lctxt, ADDR *start, ADDR *end, int *is_noncontiguous, ADDR *o_alt_start, ADDR *o_alt_end) |
|
loctype_t | lsymbol_resolve_location (struct lsymbol *lsymbol, ADDR base_addr, struct location_ctxt *lctxt, struct location *o_loc) |
|
int | lsymbol_resolve_bounds (struct lsymbol *lsymbol, ADDR base_addr, struct location_ctxt *lctxt, ADDR *start, ADDR *end, int *is_noncontiguous, ADDR *alt_start, ADDR *alt_end) |
|
void | symbol_hold (struct symbol *symbol) |
|
REFCNT | symbol_release (struct symbol *symbol) |
|
struct lsymbol * | lsymbol_create_from_member (struct lsymbol *parent, struct symbol *member) |
|
struct lsymbol * | lsymbol_create_noninline (struct lsymbol *lsymbol) |
|
struct lsymbol * | lsymbol_create_from_symbol (struct symbol *symbol) |
|
char * | lsymbol_get_name (struct lsymbol *lsymbol) |
|
struct symbol * | lsymbol_get_symbol (struct lsymbol *lsymbol) |
|
struct symbol * | lsymbol_get_noninline_parent_symbol (struct lsymbol *lsymbol) |
|
void | lsymbol_dump (struct lsymbol *lsymbol, struct dump_info *ud) |
|
REFCNT | lsymbol_release (struct lsymbol *lsymbol) |
|
struct scope * | scope_lookup_addr (struct scope *scope, ADDR pc) |
|
struct lsymbol * | debugfile_lookup_sym (struct debugfile *debugfile, char *name, const char *delim, struct rfilter *srcfile_filter, symbol_type_flag_t flags) |
|
OFFSET | symbol_offsetof (struct symbol *symbol, const char *name, const char *delim) |
|
OFFSET | lsymbol_offsetof (struct lsymbol *lsymbol, const char *name, const char *delim) |
|
GSList * | debugfile_match_syms (struct debugfile *debugfile, struct rfilter *symbol_filter, symbol_type_flag_t flags, struct rfilter *srcfile_filter) |
|
struct lsymbol * | debugfile_lookup_addr (struct debugfile *debugfile, ADDR addr) |
|
struct array_list * | debugfile_lookup_addrs_line (struct debugfile *debugfile, char *filename, int line) |
|
int | debugfile_lookup_line_addr (struct debugfile *debugfile, char *filename, ADDR addr) |
|
int | debugfile_lookup_filename_line_addr (struct debugfile *debugfile, ADDR addr, char **filename, int *line) |
|
struct lsymbol * | debugfile_lookup_sym_line (struct debugfile *debugfile, char *filename, int line, SMOFFSET *offset, ADDR *addr) |
|
struct lsymbol * | lsymbol_lookup_sym (struct lsymbol *lsymbol, const char *name, const char *delim) |
|
struct symbol * | symbol_get_sym (struct symbol *symbol, const char *name, symbol_type_flag_t flags) |
|
struct lsymbol * | symbol_lookup_sym (struct symbol *symbol, const char *name, const char *delim) |
|
struct lsymbol * | lsymbol_clone (struct lsymbol *lsymbol, struct symbol *newchild) |
|
struct symbol * | symbol_get_one_member (struct symbol *symbol, char *member) |
|
struct symbol * | symbol_get_member (struct symbol *symbol, char *memberlist, const char *delim) |
|
int | symbol_visible_at_ip (struct symbol *symbol, ADDR ip) |
|