library/src/blockclass/BP-BlockClass.cc
// creates a valid security analysis given a valid debugging session
// which can pinpoint security holes in an application.
creates a valid security analysis given a valid debugging session
which can pinpoint security holes in an application.
creates a valid security analysis given a valid debugging session which can pinpoint security holes in an application .
int Block::DbgExploitAnalysis(char * payload, int payloadLength)
{
	if(!dbgHandle)
		return ERR_DBG_HANDLE_NULL;
	if (DbgRefreshData() != ERR_SUCCESS)
		return ERR_DBG_CANNOT_REFRESH_DATA;
	return ERR_SUCCESS;
}
int Block :: DbgExploitAnalysis ( char * payload , int payloadLength ) { if ( ! dbgHandle ) return ERR_DBG_HANDLE_NULL ; if ( DbgRefreshData ( ) != ERR_SUCCESS ) return ERR_DBG_CANNOT_REFRESH_DATA ; return ERR_SUCCESS ; }
creates a valid security analysis given a valid debugging session
which can pinpoint security holes in an application.
creates a valid security analysis given a valid debugging session which can pinpoint security holes in an application .
// ensure we have a debug handle // refresh our memory areas // see if our exploit analysis structure is already filled in /*
	 if(exploitAnalysis != NULL){
	 exploitAnalysis->next = DebugCreateExploitAnalysis(dbgHandle, payload, payloadLength);
	 if(exploitAnalysis->next == NULL)
	 return ERR_DBG_CANNOT_CREATE_EXPLOIT_ANALYSIS;

	 exploitAnalysis->next->prev = exploitAnalysis;
	 exploitAnalysis->next->first = exploitAnalysis->first;
	 exploitAnalysis = exploitAnalysis->next;

	 } else {

	 exploitAnalysis = DebugCreateExploitAnalysis(dbgHandle, payload, payloadLength);
	 }

	 */ // return indicating success