Ouput


Enumerations

enum  RE_SortType { SORT_ALPHA, SORT_OFFSET }

Functions

int32 RE_PrintMappingCallee (FILE *f_OutputFile, uint32 i_Level, Mapping *p_Mapping)
 Print the mapping label and all its callees.
int32 RE_PrintGraphEntry (FILE *f_OutputFile, uint32 i_Level, Callee *p_Entry)
 Gets alls references of objects that are in the mapping.
int32 RE_PrintGraph (FILE *f_OutputFile, LIST_Mapping *projectMapping)
 Gets alls references of objects that are in the mapping.
int32 RE_PrintHelp (void)
 Print RevEng help on stdout.
int32 RE_CreateOutputFile (Settings *projectSettings, LIST_Mapping *globalMapping)
 Creates the output file(s).
int32 RE_PrintHeader (FILE *f_OutputFile)
 Prints RevEng's banner in a file.
int32 RE_PrintSections (FILE *f_OutputFile, Settings *projectSettings)
int32 RE_PrintCode (FILE *f_OutputFile, Settings *projectSettings, LIST_Mapping *globalMapping)
 This function prints the code of the target with sections names, functions names, objects and jumps references.
int32 RE_PrintStrings (FILE *f_OutputFile, Settings *projectSettings, LIST_Mapping *stringsMapping, RE_SortType e_SortType)
 This function prints all strings referenced in the target. Strings are printed in alphabetical order.
int32 RE_PrintObjects (FILE *f_OutputFile, Settings *projectSettings, LIST_Mapping *symbolsMapping, RE_SortType e_SortType)
 This function prints all objects defined in the target. Objects are printed in alphabetical order.
int32 RE_PrintClasses (FILE *f_OutputFile, Settings *projectSettings, LIST_Mapping *projectMapping, RE_SortType e_SortType)
 This function prints all classes in alphabetical order, and all methods of each class in alphabetical order.
int32 RE_PrintFunctions (FILE *f_OutputFile, LIST_Mapping *projectMapping, RE_SortType e_SortType)
 This function prints all functions name of the target in a file in alphabetical order.
int32 RE_CreateTagsFile (uint8 *psz_DisasmFileName, LIST_Mapping *projectMapping)
 This function creates a tags file containing all functions and classes of the target. This will be used by VIM (and other editors) to step inside functions easily.

Enumeration Type Documentation

enum RE_SortType
 

Enumerator:
SORT_ALPHA  Alphabetic sort
SORT_OFFSET  offset sort


Function Documentation

int32 RE_CreateOutputFile Settings projectSettings,
LIST_Mapping globalMapping
 

Creates the output file(s).

This is the function that is called to create the output files. It calls all other functions that print specific parts of the target:

  • If split option is enabled then creates 2 files.
  • Prints RevEng banner.
  • Prints all strings referenced in the target.
  • Prints all classes prototypes of the target.
  • Prints all functions names of the target.
  • Prints all dynamic functions called by the target.
  • Prints the call graph of the target.
  • Finally prints the code of the target.

int32 RE_CreateTagsFile uint8 psz_DisasmFileName,
LIST_Mapping projectMapping
 

This function creates a tags file containing all functions and classes of the target. This will be used by VIM (and other editors) to step inside functions easily.

int32 RE_PrintClasses FILE *  f_OutputFile,
Settings projectSettings,
LIST_Mapping projectMapping,
RE_SortType  e_SortType
 

This function prints all classes in alphabetical order, and all methods of each class in alphabetical order.

int32 RE_PrintCode FILE *  f_OutputFile,
Settings projectSettings,
LIST_Mapping globalMapping
 

This function prints the code of the target with sections names, functions names, objects and jumps references.

int32 RE_PrintFunctions FILE *  f_OutputFile,
LIST_Mapping projectMapping,
RE_SortType  e_SortType
 

This function prints all functions name of the target in a file in alphabetical order.

int32 RE_PrintGraph FILE *  f_OutputFile,
LIST_Mapping projectMapping
 

Gets alls references of objects that are in the mapping.

int32 RE_PrintGraphEntry FILE *  f_OutputFile,
uint32  i_Level,
Callee p_Entry
 

Gets alls references of objects that are in the mapping.

int32 RE_PrintHeader FILE *  f_OutputFile  ) 
 

Prints RevEng's banner in a file.

int32 RE_PrintHelp void   ) 
 

Print RevEng help on stdout.

int32 RE_PrintMappingCallee FILE *  f_OutputFile,
uint32  i_Level,
Mapping p_Mapping
 

Print the mapping label and all its callees.

int32 RE_PrintObjects FILE *  f_OutputFile,
Settings projectSettings,
LIST_Mapping symbolsMapping,
RE_SortType  e_SortType
 

This function prints all objects defined in the target. Objects are printed in alphabetical order.

int32 RE_PrintSections FILE *  f_OutputFile,
Settings projectSettings
 

int32 RE_PrintStrings FILE *  f_OutputFile,
Settings projectSettings,
LIST_Mapping stringsMapping,
RE_SortType  e_SortType
 

This function prints all strings referenced in the target. Strings are printed in alphabetical order.


Generated on Tue Nov 29 20:13:27 2005 for REVENG by  doxygen 1.4.5