Questions tagged [application-verifier]

Microsoft Application Verifier is a runtime verification tool for unmanaged code.

Microsoft Application Verifier is a runtime verification tool for native code that assists in finding subtle programming errors that can be difficult to identify with normal application testing.

Application Verifier is designed specifically to detect and help debug memory corruptions and critical security vulnerabilities.

This is achieved by monitoring a native application's interaction with the Windows operating system, profiling its use of objects, the registry, the file system, and Win32 APIs (including heaps, handles, locks, etc), and indicating issues when and where they are discovered.

Application Verifier also includes checks to predict how well an application may perform under various account privileges. These compatibility tests are used in Windows Logo program.

66 questions
0
votes
1 answer

What's the significance of the App Verifier error pattern `fafa`?

My program is crashing in app verifier and I don't fully understand the crash. I have a buffer which is dynamically allocated thus from the number of bytes in a file: DWORD dwSizeBytes = (DWORD)liSize.QuadPart+2; TCHAR* JSONBufferW = new TCHAR…
Benj
  • 31,668
  • 17
  • 78
  • 127
0
votes
1 answer

MFC Win32 application + application verifier - virtual reservation leaked

I'm trying to analyse my Win32 application using Application Verifier. I checked all of the categories under Basic. So in the following code, // Function which unloads the DLL int unloadDLL() { if(DLLHandle != NULL) { if(0 ==…
Anish Ramaswamy
  • 2,326
  • 3
  • 32
  • 63
0
votes
1 answer

ASSERT(::IsWindow(m_hWnd)) fails in Afxwin2.inl

I am creating a view in my project which is a child class of CView. class CBaseGLView : public CView In oncreate function I am checking it null or not as below: int CBaseGLView::OnCreate(LPCREATESTRUCT lpCreateStruct) { if…
gishara
  • 815
  • 2
  • 15
  • 41
0
votes
1 answer

Strange error in std::string destructor

I ran my application under Application Verifier and it showed me the following problem on my app's shutdown: VERIFIER STOP 00000210: pid 0x6D0: Critical section not initialized. 005C9148 : Critical section address. 00000000 : Critical…
user10101
  • 1,704
  • 2
  • 20
  • 49
-1
votes
1 answer

GetExitCodeProcess() throws first chance exception with Application Verifier

I use CreateProcess() to run an executable and call GetExitCodeProcess() at the end to get the exit code of the process. When I run it with application verifier I get a first chance exception. I've attached a picture of the log. Line number 1348 is…
Dula
  • 1,404
  • 1
  • 14
  • 29
-3
votes
1 answer

Which problems will application verifier find in its default settings?

By default, Application Verifier has these settings turned on: Which tests will it perform in that configuration?
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
1 2 3 4
5