library/src/exploitation/BP-LinuxExploitation.cc
// Creates a list of analysis's from a buffer list, basically parsing through the
// data list to create a reasonable picture of exploitability in a process.
Creates a list of analysis's from a buffer list, basically parsing through the
data list to create a reasonable picture of exploitability in a process.
Creates a list of analysis ' s from a buffer list basically parsing through the data list to create a reasonable picture of exploitability in a process .
P_EXPLOIT_ANALYSIS_LIST DebugGetExploitAnalysisFromDataList(P_DEBUG_HANDLE dbgHandle, P_DATA_LIST inList){
	if(inList == NULL)
		return NULL;
	P_EXPLOIT_ANALYSIS_LIST retList = NULL;
	for(inList = inList->first; inList != NULL; inList = inList->next){
		if(inList->dataType != READ){
			retList = DebugCreateExploitAnalysis(dbgHandle, inList->binData, inList->dataSize);
			if(retList->exploiting > 0){
				inList->isExploiting = true;
				printf("\n set inlist element exploiting to: %p", inList);
				printf("\n Returning with retlist, weird?");
				printf("\n Returning with retlist, weird?");
				printf("\n Returning with retlist, weird?");
				return retList;
			}
		} else {
		}
	}
	return retList;
}
P_EXPLOIT_ANALYSIS_LIST DebugGetExploitAnalysisFromDataList ( P_DEBUG_HANDLE dbgHandle , P_DATA_LIST inList ) { if ( inList == NULL ) return NULL ; P_EXPLOIT_ANALYSIS_LIST retList = NULL ; for ( inList = inList -> first ; inList != NULL ; inList = inList -> next ) { if ( inList -> dataType != READ ) { retList = DebugCreateExploitAnalysis ( dbgHandle , inList -> binData , inList -> dataSize ) ; if ( retList -> exploiting > 0 ) { inList -> isExploiting = true ; printf ( " \n " , inList ) ; printf ( " \n " ) ; printf ( " \n " ) ; printf ( " \n " ) ; return retList ; } } else { } } return retList ; }
Creates a list of analysis's from a buffer list, basically parsing through the
data list to create a reasonable picture of exploitability in a process.
Creates a list of analysis ' s from a buffer list basically parsing through the data list to create a reasonable picture of exploitability in a process .
// break if we found an exploitable condition