Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

analy_names.h File Reference

Go to the source code of this file.

Defines

#define LPRFX_LOC   ((char *)1)
#define LPRFX_SUB   ((char *)2)
#define LPRFX_STUB   ((char *)3)
#define LPRFX_WRAP   ((char *)4)
#define LPRFX_OFS   ((char *)5)
#define LPRFX_DTA   ((char *)6)
#define LPRFX_DTU   ((char *)7)
#define LPRFX_STR   ((char *)8)
#define LPRFX_MAX   ((char *)9)
#define M_PREFIX_DUP   ' '
#define M_PREFIX_DUPs   " "
#define M_PREFIX_REF   '*'
#define M_PREFIX_REFs   "*"
#define M_PREFIX_LABEL   'l'
#define M_PREFIX_LABELs   "l"
#define QUOTED_STRING(s)   M_PREFIX_DUPs##s
#define REF_STRING(s)   M_PREFIX_REFs##s

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)


Define Documentation

#define LPRFX_DTA   ((char *)6)
 

Definition at line 36 of file analy_names.h.

Referenced by Analyser::dataAccess().

#define LPRFX_DTU   ((char *)7)
 

Definition at line 37 of file analy_names.h.

Referenced by Analyser::dataAccess().

#define LPRFX_LOC   ((char *)1)
 

Definition at line 31 of file analy_names.h.

Referenced by Analyser::doBranch().

#define LPRFX_MAX   ((char *)9)
 

Definition at line 39 of file analy_names.h.

Referenced by label_prefix().

#define LPRFX_OFS   ((char *)5)
 

Definition at line 35 of file analy_names.h.

Referenced by Analyser::dataAccess().

#define LPRFX_STR   ((char *)8)
 

Definition at line 38 of file analy_names.h.

#define LPRFX_STUB   ((char *)3)
 

Definition at line 33 of file analy_names.h.

Referenced by Analyser::doBranch().

#define LPRFX_SUB   ((char *)2)
 

Definition at line 32 of file analy_names.h.

Referenced by Analyser::doBranch().

#define LPRFX_WRAP   ((char *)4)
 

Definition at line 34 of file analy_names.h.

Referenced by Analyser::doBranch().

#define M_PREFIX_DUP   ' '
 

Definition at line 49 of file analy_names.h.

Referenced by quote_string(), and real_name().

#define M_PREFIX_DUPs   " "
 

Definition at line 50 of file analy_names.h.

#define M_PREFIX_LABEL   'l'
 

Definition at line 53 of file analy_names.h.

Referenced by real_name().

#define M_PREFIX_LABELs   "l"
 

Definition at line 54 of file analy_names.h.

#define M_PREFIX_REF   '*'
 

Definition at line 51 of file analy_names.h.

Referenced by real_name().

#define M_PREFIX_REFs   "*"
 

Definition at line 52 of file analy_names.h.

#define QUOTED_STRING  )     M_PREFIX_DUPs##s
 

Definition at line 55 of file analy_names.h.

#define REF_STRING  )     M_PREFIX_REFs##s
 

Definition at line 56 of file analy_names.h.


Function Documentation

char* addr_label  ) 
 

Definition at line 151 of file analy_names.cc.

References the_label_prefix_string.

char* comment_lookup int  special  ) 
 

Definition at line 194 of file analy_names.cc.

Referenced by CommentList::getName().

char* export_func_name const char *  funcname,
int  ordinal
 

Definition at line 42 of file analy_names.cc.

References ht_snprintf(), and ht_strdup().

Referenced by PEAnalyser::beginAnalysis(), and NEAnalyser::beginAnalysis().

char* import_func_name const char *  dllname,
const char *  funcname,
int  ordinal
 

Definition at line 30 of file analy_names.cc.

References ht_snprintf(), and ht_strdup().

Referenced by XBEAnalyser::beginAnalysis(), PEAnalyser::beginAnalysis(), and NEAnalyser::beginAnalysis().

char* label_prefix const char *  p  ) 
 

Definition at line 95 of file analy_names.cc.

References label_prefixes, and LPRFX_MAX.

Referenced by Analyser::addAddressSymbol(), and Analyser::doBranch().

char* label_type int  lt  ) 
 

Definition at line 56 of file analy_names.cc.

References assert, and label_types.

char* label_type_short int  lt  ) 
 

Definition at line 62 of file analy_names.cc.

References assert, and label_types_short.

Referenced by SymbolBox::getStr().

void make_valid_name char *  result,
const char *  str
 

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().

char* quote_string char *  s  ) 
 

Definition at line 174 of file analy_names.cc.

References M_PREFIX_DUP, and smalloc().

char* real_name char *  s  ) 
 

Definition at line 156 of file analy_names.cc.

References M_PREFIX_DUP, M_PREFIX_LABEL, M_PREFIX_REF, and NULL.

char* reference_string char *  s  ) 
 

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.

bool valid_name const char *  str  ) 
 

Definition at line 104 of file analy_names.cc.

References mapchar.

Referenced by ht_aviewer::handlemsg().

char* xref_type int  xt  ) 
 

Definition at line 71 of file analy_names.cc.

References assert, and xref_types.

Referenced by ht_aviewer::showXRefs().

char xref_type_short int  xt  ) 
 

Definition at line 77 of file analy_names.cc.

References assert, and xref_types_short.

Referenced by generate_html_output(), and AnalyserOutput::generateAddr().


Generated on Fri May 7 21:15:46 2004 by doxygen 1.3.5