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
33
votes
2 answers

How to use Microsoft Application Verifier

Using C++ and discovered today during a demo that I'm suffering from a corrupted heap (but only on important occasions!!). I found a few posts here on SO and decided to download Application Verifier and Debugging tool. I am current running Visual…
chikuba
  • 4,229
  • 6
  • 43
  • 75
16
votes
3 answers

Application Verifier fails to start on 3 separate Windows machines here

Simply, I cannot run App verifier (WOW or 64-bit). It simply does not start. Event viewer says: Faulting application name: appverif.exe, version: 10.0.18362.1, time stamp: 0x58ca3409 Faulting module name: ntdll.dll, version: 10.0.18362.1139, time…
r webby
  • 443
  • 3
  • 13
16
votes
1 answer

Configuring "Application Verifier" In Visual Studio

I see that I can launch application verifier within Visual Studio 2008 via Debug->Start With Application Verifier. But the documentation for app verifier shows a bunch of options that can be configured if it's UI is launched separately from Visual…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
15
votes
1 answer

What is Microsoft Application Verifier for?

I've got Microsoft Application Verifier installed with some SDK. How do I make any use of it, practically? Are there any simple examples/explanations?
Ivan
  • 63,011
  • 101
  • 250
  • 382
9
votes
7 answers

How to use Application Verifier to find memory leaks

I want to find memory leaks in my application using standard utilities. Previously I used my own memory allocator, but other people (yes, you AlienFluid) suggested to use Microsoft's Application Verifier, but I can't seem to get it to report my…
Patrick
  • 23,217
  • 12
  • 67
  • 130
6
votes
1 answer

How do I get AppVerifier/WinDbg working on Windows 10?

I'm on Windows 10 17134, and have Windows 10 SDK 16299 installed. I actually had an older version of Windows and 4 different versions of the SDK, but decided to upgrade to the latest Windows release and uninstall all my Win10 SDKs and install just…
Kris Morness
  • 574
  • 5
  • 12
5
votes
1 answer

Force heap allocations above 4 GB

Colleagues convert a 32 bit C++ application to 64 Bit. For testing purposes, the idea is now to instruct the heap manager to return addresses in the 64 bit range only. Searching the Internet for solutions does not seem to give very reliable…
Thomas Weller
  • 55,411
  • 20
  • 125
  • 222
5
votes
1 answer

Application Verifier Automatic Process Dump File Creation

I know how to use AppVerif manually, along with windbg, to debug issues with a process, but I am putting together an automated system to run a series of stress tests without the presence of a user. I need a way to just generate a process dump…
Nick Banks
  • 4,298
  • 5
  • 39
  • 65
5
votes
1 answer

Application verifier install issue

I installed application verifier for detecting heap corruption in my application in Visual Studio 2010. The OS it runs on is Windows 7. The problem that I have is very stupid: I can't start the application verifier. I read that it is installed in…
stckjp
  • 117
  • 1
  • 12
4
votes
0 answers

Application Verifier by Microsoft

When I click on application verifier for my windows 10 computer the command prompt comes up and then it goes away rather than the GUI opening. Is there something I need to enable to have this application work?
Xander
  • 9,069
  • 14
  • 70
  • 129
4
votes
0 answers

WinDbg commands not working in VS Immediate window

I've installed AppVerifier and have it's extended error reporting appearing in the Output-Debug window: VERIFIER STOP 00000202: pid 0x1714: Freeing heap block containing an active critical section. 10177F2C : Critical section address. Run !cs -s…
3
votes
0 answers

How I can find why Windows is blocking java.exe?

I encounter some very strange behavior and I don't know how to handle it. I suspect that the behavior started to reproduce after last Windows upgrade. But I am not sure if it has anything related to it. (I discovered it when I tried to run maven,…
3
votes
2 answers

Application Verifier reports access violation in call to ShellExecuteEx

Short Version Application Verifier says there is an access violation when running the code: var shi: TShellExecuteInfo; begin shi := Default(TShellExecuteInfo); shi.cbSize := SizeOf(TShellExecuteInfo); shi.lpFile := PChar('C:\Windows'); …
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
0 answers

Increase number of stack frames collected by app verifier on every heap allocation

I try to get a stack trace of an memory allocation by using windbg command: !heap -p -a The stack trace is collected by configuring my application to run with app verifier. I get a stack trace but it is too short. Is there a…
lejarak
  • 31
  • 1
3
votes
2 answers

How to use Debug with/without Microsoft Application Verifier in Visual Studio 2013

So I've installed the application verifier to help me with debugging, however I don't know how to use it properly. First off, it seems to have attached itself permanently to visual studio. Whenever I run any application in debugging mode through…
Silverlan
  • 2,783
  • 3
  • 31
  • 66
1
2 3 4 5