How to detect memory leaks in a DLL file without having main program
Posted on 2008-10-29
I have the code for a .DLL file which is a plug-in for a web proxy server. The purpose of this .DLL is to provide authentication for the account which returns a result to the web proxy indicating if the user should be allowed to pass through.
The functionality works fine, however, when we gave it a load test after many hours the proxy server crashes. I believe this is due to a possible resource issue within this .DLL file since when we disable using it, the proxy appears to be stable through the load test.
I do not have the code to the proxy server to embed any type of memory leak detection; I only have the code for the DLL (written in C). I am able to compile this code using Visual C++ 2008 Express.
Is there a utility or approach I can take to detect if there are any issues within this DLL without having source code to the main program that calls this DLL?
I have done a quick search here, however, I did not see anything that was specific to ONLY having the DLL code and not the main program.