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
3
votes
1 answer

Unable to detect why QDialog is memory leaking

I'm doing a project using Qt with some customized QDialogs for user input. Due to hardware constraint of my development box, I want to monitor the memory usage of my app. How I exec the dialog. 1 void MainWindow::callDialog() { 2 DlgPopConfig…
YamHon.CHAN
  • 866
  • 4
  • 20
  • 36
3
votes
1 answer

App Verifier Stop 0202: Freeing heap block containing an active critical section during GdiPlusShutdown

When running the Microsoft Application Verifier i would get an error 0202 on shutdown: VERIFIER STOP 00000202: pid 0x1160: Freeing heap block containing an active critical section. 11456F48 : Critical section address. 047D05B4 : Critical…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
1 answer

Understanding Application Verifier error codes

I need to analyze a crash dump which reports an unhandled exception triggered by the AppVerif application. Usually the Application Verifier send an exception when a problem is detected in one of the checks flagged in the UI (heap, handle and leak…
Bemipefe
  • 1,397
  • 4
  • 17
  • 30
2
votes
0 answers

Application Verifier limits Heap Allocations by default?

I'm currently testing an application that has to open big files in Application Verifier 6.3 for 64 bit systems. My application must be able to allocate around 100 - 200 MB of memory which worked nicely in debug and release mode before. This is the…
Vinz
  • 3,030
  • 4
  • 31
  • 52
2
votes
1 answer

Where can I run application verifier commands

I am using application verifier for runtime debugging. Sometimes, when it reports a problem, there is a mention of a command to run. VERIFIER STOP 0000000000000210: pid 0x2738: Critical section not initialized. 0000000006F14C40 : Critical…
UmNyobe
  • 22,539
  • 9
  • 61
  • 90
2
votes
0 answers

gethostbyname API fails when App Verifier is on

I ran into a problem trying to test an application under Application Verifier with Page Heap on. It turns out that gethostbyname API always fails even for legit host names like "localhost". The problem reproduces on every Win-7 or Server 2008 R2 I…
glagolig
  • 1,100
  • 1
  • 12
  • 28
2
votes
2 answers

Application Verifier 6.2 (x64) AVRF: failed to create verifier log file status C0000022

My Windows Store app keeps getting rejected from certification testing and I managed to reproduce a consequent crash when running appverif's LuaPriv-check. I get this output though: AVRF: failed to create verifier log file…
eih
  • 127
  • 1
  • 11
2
votes
1 answer

MS Application Verifier bloats stack?

Does anyone have an idea how Application Verifier works? I am currently working on a tree parsing application, which heavily uses recursion. The program seems to work as intended, however I do use "new" in a few places, so I thought of checking for…
LakatosI
  • 395
  • 1
  • 3
  • 9
2
votes
2 answers

Equivalent of Microsoft Application Verifier for managed applications

Do you know of any equivalent of Microsoft Application Verifier for managed applications? Thanks!
DiogoNeves
  • 1,727
  • 2
  • 17
  • 36
1
vote
1 answer

What does _AVrfpGetProcessName do?

What does the function "_AVrfpGetProcessName" does ? Is there any link where I can find the detailed description of this function ?
Abhineet
  • 5,320
  • 1
  • 25
  • 43
1
vote
0 answers

Application Verifier stylesheet for XML logs

Does anyone have a style sheet for the XML log file?
CS.
  • 1,845
  • 1
  • 19
  • 38
1
vote
3 answers

Finding location of crash using Map file

I am investigating a faulty code. Application verifier shows heap is corrupted after below call: AA!Class::Function+dbaf I have map file with me.Please help me how to reach on line number using above information and information present into Map…
Satbir
  • 6,358
  • 6
  • 37
  • 52
1
vote
0 answers

Possible values of VerifierFlags

I've enabled application verifier on my application, and it created a registry value VerifierFlags with value 0x80000000 Where do I find a list of possible VerifierFlags values? I tried to lookup online, the only thing I found is about drives. Does…
daisy
  • 22,498
  • 29
  • 129
  • 265
1
vote
1 answer

programmatically enable application verifier

I have a program(a unit test runner) called foo.exe that I would like to run with a certain set of application-verifier flags. This program is run as part of a continuous integration system, on various computers, to check for bugs. I'd like to…
rsaxvc
  • 1,675
  • 13
  • 20
1
vote
1 answer

Application crashes but Application Verifier shows no errors

I used Microsoft Application Verifier on my app. My program works ok until I turn on the 'Low resource simulation'. At this point, my briefly starts then simply disappear from the screen (shuts down?). When I look into Application Verifier Logs,…
Gabriel
  • 20,797
  • 27
  • 159
  • 293