This tutorial describes how to setup Bug Validator to include or exclude different source files from instrumentation processing when you are statically linking your application with MFC and/or the C Runtime.
When you statically link to MFC and/or the CRT, the code for the MFC and/or CRT libraries is included in your application. This means that Bug Validator’s filtering by DLL policy will not work, as DLLs are not used to provide MFC and/or CRT support for statically linked applications.
This means that Bug Validator needs to know where the source code for your application, source code for 3rd parties (MFC, CRT, etc) and any other source code is kept.
For the purposes of this tutorial we are going to assume the third party source code is the source code provided by Visual Studio for MFC, CRT and STL.
To exclude statically linked source code from instrumentation do this:
You have configured Bug Validator to work with statically linked applications – it will exclude MFC, CRT and STL source code from instrumentation.
For the purposes of this tutorial we are going to assume the third party source code is the source code provided by Visual Studio for MFC, CRT and STL.
To include statically linked source code from instrumentation do this:
You have configured Bug Validator to work with statically linked applications – it will include MFC, CRT and STL source code in the instrumentation.