library/src/ELF/ELF32/BP-ELFExtraction.cc
// Prints out the actual Section List pointer elements
Prints out the actual Section List pointer elements
Prints out the actual Section List pointer elements
int ELF32_PrintSectionListElement(P_ELF_SECTION_LIST_32BIT sList){
	if(sList == NULL)
		return ERR_FAILURE;
	printf("\tSection List: %p", sList);
	if(sList->name != NULL)
		printf("\n Section Name: %s", sList->name);
	else
		printf("\n Section Name: NULL");
	if(sList->type != NULL)
		printf("\n Section Type: %s", sList->type);
	else
		printf("\n Section Type: NULL");
		printf("\n\t\t first: %p", sList->first);
		printf("\n\t\t prev : %p", sList->prev );
		printf("\n\t\t next : %p", sList->next);
	return ERR_SUCCESS;
}
int ELF32_PrintSectionListElement ( P_ELF_SECTION_LIST_32BIT sList ) { if ( sList == NULL ) return ERR_FAILURE ; printf ( " \t " , sList ) ; if ( sList -> name != NULL ) printf ( " \n " , sList -> name ) ; else printf ( " \n " ) ; if ( sList -> type != NULL ) printf ( " \n " , sList -> type ) ; else printf ( " \n " ) ; printf ( " \n \t \t " , sList -> first ) ; printf ( " \n \t \t " , sList -> prev ) ; printf ( " \n \t \t " , sList -> next ) ; return ERR_SUCCESS ; }
Prints out the actual Section List pointer elements
Prints out the actual Section List pointer elements
// Section Name // Section Type // List Pointers