1. A method for detecting at least one of a dangling pointer and a memory leak location within a software, comprising, at runtime of the software: tracking the software as the software erforms at least one of allocatin and deallocating memory, to maintain a linked list of at least one pointer, the linked list including a reference to the memory that has been allocated or deallocated, and to maintain a status of the at least one pointer as invalid or valid; and, tracking the software as the software performs at least one of writing a new address within a pointer of the linked list and reading an address stored within a pointer of the linked list, to maintain the linked list of at least one pointer to perform at least one of (i) determining whether the pointer from which the address has been read is a dangling pointer and (ii) detectin a memory leak location based on the writing of the new address.