1. A computer-implemented method for analyzing an application not specifically designed to provide memory allocation information and extracting memory allocation information, the method comprising: detecting an application for which information describing memory allocations made by the application is not available; performing analysis on the application to determine memory allocations made by the application; hooking the application to provide allocation information at locations within the application where the application allocates memory; and receiving a request from the application to allocate memory and associated allocation information provided by the hooked application code, wherein the preceding steps are performed by at least one processor.