Microsoft based on the feedback from customers that the Resource Leak Detector (RLD) included with Windows Embedded Compact 7 didn't cover all the scenarios that previous version of App Verifier did, have now released an update to App Verifier at MSDN Code Gallery.
The updated version of App Verifier allows customers to create their own custom shims and does not need a KITL connection.
"The AppVerifier tool assesses the stability of an application. This tool can detect and pinpoint memory leaks, handle leaks and leaks in graphics device interface (GDI) objects. The tool can also detect some forms of heap corruption. AppVerifier uses kernel hooks to SHIM memory allocations for specific modules. The tool inserts the shim into the code path between the calling function and the intended target function."