library/src/ELF/ELF32/BP-ELFExtraction.cc
// Prints out information regarding the elf lookup table which is primarily
// for diagnostics with header pointers.
Prints out information regarding the elf lookup table which is primarily
for diagnostics with header pointers.
Prints out information regarding the elf lookup table which is primarily for diagnostics with header pointers .
int ELF32_PrintLookupPtrForDiagnostics(P_ELF_32BIT_LOOKUP_TABLE elfLookupTable){
	if(!elfLookupTable)
		return ERR_FAILURE;
	  printf("\n Elf Lookup Table Pointer Diagnostic Table: ");
	  printf("\n\t filePath : %p : %s", elfLookupTable->filePath, elfLookupTable->filePath);
	  printf("\n\t pid      : %i", elfLookupTable->pid);
	  printf("\n\t origin   : %i", elfLookupTable->origin);
	  printf("\n\t header   : %p", elfLookupTable->header);
	  printf("\n\t program headers: %p", elfLookupTable->pHeaders);
	  printf("\n\t sections : %p", elfLookupTable->sections);
	  printf("\n\t symTable : %p", elfLookupTable->symTab);
	  printf("\n\t relocs   : %p", elfLookupTable->relocs);
	  printf("\n\t dynamics : %p", elfLookupTable->dynamics);
	  printf("\n\t GOT      : %p", elfLookupTable->got);
	  printf("\n\t memMap   : %p", elfLookupTable->memMap);
	  printf("\n\t stringTab: %p", elfLookupTable->stringTable);
	  printf("\n\t strTab Size: %u", elfLookupTable->stringTableSize);
	  printf("\n\t decodedInstructions: %p", elfLookupTable->decodedInstructions);
	  return ERR_SUCCESS;
}
int ELF32_PrintLookupPtrForDiagnostics ( P_ELF_32BIT_LOOKUP_TABLE elfLookupTable ) { if ( ! elfLookupTable ) return ERR_FAILURE ; printf ( " \n " ) ; printf ( " \n \t " , elfLookupTable -> filePath , elfLookupTable -> filePath ) ; printf ( " \n \t " , elfLookupTable -> pid ) ; printf ( " \n \t " , elfLookupTable -> origin ) ; printf ( " \n \t " , elfLookupTable -> header ) ; printf ( " \n \t " , elfLookupTable -> pHeaders ) ; printf ( " \n \t " , elfLookupTable -> sections ) ; printf ( " \n \t " , elfLookupTable -> symTab ) ; printf ( " \n \t " , elfLookupTable -> relocs ) ; printf ( " \n \t " , elfLookupTable -> dynamics ) ; printf ( " \n \t " , elfLookupTable -> got ) ; printf ( " \n \t " , elfLookupTable -> memMap ) ; printf ( " \n \t " , elfLookupTable -> stringTable ) ; printf ( " \n \t " , elfLookupTable -> stringTableSize ) ; printf ( " \n \t " , elfLookupTable -> decodedInstructions ) ; return ERR_SUCCESS ; }
Prints out information regarding the elf lookup table which is primarily
for diagnostics with header pointers.
Prints out information regarding the elf lookup table which is primarily for diagnostics with header pointers .