misc.h File Reference

Go to the source code of this file.

Defines

#define STRING_CHECK_SIZE   8

Functions

int32 RE_GetHeader (uint8 *sz_Buffer)
 Copies the header of reveng in the buffer sz_Buffer.
int32 FILE_GetStringAt (FILE *f_File, uint32 i_Addr, uint8 *sz_String)
 Reads a string in the file f_File at offset i_Addr.
int32 RE_ReadString (uint8 *sz_DestString, uint32 i_Size, FILE *f_file)
 Reads a string in the file and stops if there is a '<' in it.
char * RE_GetLevelStr (uint16 i_Level)
int32 RE_InitRegisters (Register *registers, uint8 b_ResetAll)
 Initialiszes all registers. "registers" must be ab array of REG_MAX Register struct.
int32 RE_SetNextCntx (RegisterContext *context)
int32 RE_AddCntx (RegisterContext *context, Register *registers, uint32 i_Addr)
int32 RE_FreeCntx (RegisterContext *context, uint32 i_CntxIndex)
int32 RE_EmptyCntx (RegisterContext *context)
int32 RE_GetParameters (uint8 *sz_Function, Function_Params *parameters, LIST_Mapping *ParamsList)
 Get parameters offsets and labels of the function.
uint8 RE_GetParamIndex (Function_Params *parameters, uint16 i_Offset)
 Get parameters offsets and labels of the function.
uint8 RE_ParamIsMessage (Function_Params *parameters, uint8 i_Index)
 Tells if a parameter is a message or not.


Define Documentation

#define STRING_CHECK_SIZE   8
 


Function Documentation

int32 FILE_GetStringAt FILE *  f_File,
uint32  i_Addr,
uint8 sz_String
 

Reads a string in the file f_File at offset i_Addr.

int32 RE_GetHeader uint8 sz_Buffer  ) 
 

Copies the header of reveng in the buffer sz_Buffer.

char* RE_GetLevelStr uint16  i_Level  ) 
 

int32 RE_ReadString uint8 sz_DestString,
uint32  i_Size,
FILE *  f_file
 

Reads a string in the file and stops if there is a '<' in it.


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