#include "analy_names.h"
#include "htdebug.h"
#include "htstring.h"
#include "language.h"
#include "snprintf.h"
#include "stdio.h"
#include "string.h"
#include "tools.h"
Go to the source code of this file.
Functions | |
char * | import_func_name (const char *dllname, const char *funcname, int ordinal) |
char * | export_func_name (const char *funcname, int ordinal) |
char * | label_type (int lt) |
char * | label_type_short (int lt) |
char * | xref_type (int xt) |
char | xref_type_short (int xt) |
char * | label_prefix (const char *p) |
bool | valid_name (const char *str) |
void | make_valid_name (char *result, const char *str) |
char * | addr_label () |
char * | real_name (char *s) |
char * | quote_string (char *s) |
char * | reference_string (char *s) |
char * | comment_lookup (int special) |
void | init_analy_names () |
void | done_analy_names () |
Variables | |
char * | label_types [] = {"unknown", "function", "location ", "data"} |
char * | label_types_short [] = {"? ", "func", "loc ", "data"} |
char * | xref_types [] = {"read", "write", "offset", "jump", "call", "ijump", "icall"} |
char | xref_types_short [] = "rwojcJC" |
char * | label_prefixes [] |
char | the_label_prefix_string [2] = "l" |
ht_sorted_string_list * | reference_strings |
|
Definition at line 151 of file analy_names.cc. References the_label_prefix_string. |
|
Definition at line 194 of file analy_names.cc. Referenced by CommentList::getName(). |
|
Definition at line 205 of file analy_names.cc. References ht_sorted_list::done(), and reference_strings. |
|
Definition at line 42 of file analy_names.cc. References ht_snprintf(), and ht_strdup(). Referenced by NEAnalyser::beginAnalysis(), and PEAnalyser::beginAnalysis(). |
|
Definition at line 30 of file analy_names.cc. References ht_snprintf(), and ht_strdup(). Referenced by NEAnalyser::beginAnalysis(), PEAnalyser::beginAnalysis(), and XBEAnalyser::beginAnalysis(). |
|
Definition at line 199 of file analy_names.cc. References compare_keys_string(), ht_sorted_string_list::init(), and reference_strings. |
|
Definition at line 95 of file analy_names.cc. References label_prefixes, and LPRFX_MAX. Referenced by Analyser::addAddressSymbol(), and Analyser::doBranch(). |
|
Definition at line 56 of file analy_names.cc. References assert, and label_types. |
|
Definition at line 62 of file analy_names.cc. References assert, and label_types_short. Referenced by SymbolBox::getStr(). |
|
Definition at line 122 of file analy_names.cc. References mapchar. Referenced by MachoAnalyser::beginAnalysis(), Analyser::dataAccess(), ht_aviewer::dataStringDialog(), ht_aviewer::handlemsg(), ElfAnalyser::initInsertFakeSymbols(), and ElfAnalyser::initInsertSymbols(). |
|
Definition at line 174 of file analy_names.cc. References M_PREFIX_DUP, and smalloc(). |
|
Definition at line 156 of file analy_names.cc. References M_PREFIX_DUP, M_PREFIX_LABEL, M_PREFIX_REF, and NULL. |
|
Definition at line 184 of file analy_names.cc. References ht_sorted_string_list::get_string(), ht_sorted_string_list::insert_string(), and reference_strings. |
|
Definition at line 104 of file analy_names.cc. References mapchar. Referenced by ht_aviewer::handlemsg(). |
|
Definition at line 71 of file analy_names.cc. References assert, and xref_types. Referenced by ht_aviewer::showXRefs(). |
|
Definition at line 77 of file analy_names.cc. References assert, and xref_types_short. Referenced by generate_html_output(), and AnalyserOutput::generateAddr(). |
|
Initial value: { "unknown", "loc", "sub", "stub", "wrapper", "offset", "data", "?data", "str" } Definition at line 83 of file analy_names.cc. Referenced by label_prefix(). |
|
Definition at line 53 of file analy_names.cc. Referenced by label_type(). |
|
Definition at line 54 of file analy_names.cc. Referenced by label_type_short(). |
|
Definition at line 182 of file analy_names.cc. Referenced by done_analy_names(), init_analy_names(), and reference_string(). |
|
Definition at line 149 of file analy_names.cc. Referenced by addr_label(). |
|
Definition at line 68 of file analy_names.cc. Referenced by xref_type(). |
|
Definition at line 69 of file analy_names.cc. Referenced by xref_type_short(). |