Reputation: 1780
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 programmatically enable application verifier, run my unit tests, then reset the system state so that application-verifier does not run on any similarly-named programs run by other developers(the fact that our CI system doesn't fully-sanitize between builds is a separate issue beyond this scope).
Upvotes: 1
Views: 551
Reputation: 1780
On a whim, I decided to check if application-verifier had any command-line flags. For more flags, run appverif -?
appverif -enable heaps handles -for foo.exe
appverif -delete settings -for foo.exe
Upvotes: 1