library/src/blockclass/BP-BlockClass.cc
// If the block object is not allocated with "new" the constructor
// routine isn't run to initialize local variables, this function allows
// for those local variables to be initialized through routine instead
// in order to make things much easier then manual initializations.
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
// THIS IS SEVERELY DEPRECATED, DO NOT USE THIS
If the block object is not allocated with "new" the constructor
routine isn't run to initialize local variables, this function allows
for those local variables to be initialized through routine instead
in order to make things much easier then manual initializations.
If the block object is not allocated with " new " the constructor routine isn ' t run to initialize local variables this function allows for those local variables to be initialized through routine instead in order to make things much easier then manual initializations .
int Block::InitLocals()
{
	fdSet      = NULL;
	fileList   = NULL;
	searchList = NULL;
	net_handle  = NULL;
#if USE_BLOCKPARTY_DEBUGGING == 1
	#if BLOCKPARTY_DEBUGGING_TARGET_64BIT == 1
	#endif 
	#if BLOCKPARTY_DEBUGGING_TARGET_32BIT == 1
	dbgHandle        = NULL;
	triggerFile      = NULL;
	exploitAnalysis  = NULL;
	instructionTable = NULL;
	instructions     = NULL;
	syscallLookup    = NULL;
	#endif 
#endif 
	mysqlResults = NULL;
	mysqlSession = NULL;
	httpSession = NULL;
	htmlExtraction = NULL;
	webAssessment = NULL;
	errorCount = 0;
	errorStrings = NULL;
	warningCount = 0;
	warningStrings = NULL;
}
int Block :: InitLocals ( ) { fdSet = NULL ; fileList = NULL ; searchList = NULL ; net_handle = NULL ; #if USE_BLOCKPARTY_DEBUGGING == 1 #if BLOCKPARTY_DEBUGGING_TARGET_64BIT == 1 #endif #if BLOCKPARTY_DEBUGGING_TARGET_32BIT == 1 dbgHandle = NULL ; triggerFile = NULL ; exploitAnalysis = NULL ; instructionTable = NULL ; instructions = NULL ; syscallLookup = NULL ; #endif #endif mysqlResults = NULL ; mysqlSession = NULL ; httpSession = NULL ; htmlExtraction = NULL ; webAssessment = NULL ; errorCount = 0 ; errorStrings = NULL ; warningCount = 0 ; warningStrings = NULL ; }
If the block object is not allocated with "new" the constructor
routine isn't run to initialize local variables, this function allows
for those local variables to be initialized through routine instead
in order to make things much easier then manual initializations.
If the block object is not allocated with " new " the constructor routine isn ' t run to initialize local variables this function allows for those local variables to be initialized through routine instead in order to make things much easier then manual initializations .
// Initialize all pointers to null // #if BLOCKPARTY_DEBUGGING_TARGET_64BIT == 1 // #if BLOCKPARTY_DEBUGGING_TARGET_32BIT == 1 // USE_BLOCKPARTY_DEBUGGING == 1 // errors and warnings