mirage2k2
Mon Oct 16 23:11:02 CDT 2006
thanks
"Johannes Passing" wrote:
> To use the DDK version of prefast from a normal VS 200x build
> environment, you only have to set/alter some env variables
> (PREFAST_ROOT, PATH, INCLUDE).
>
> I have successfully used the following:
>
> set PREFAST_ROOT=D:\WINDDK\3790\bin\x86\prefast
> set "PATH=%PATH%;D:\WINDDK\3790\bin\x86\prefast\scripts\"
> set INCLUDE=D:\WINDDK\3790\inc\crt;C:\Program Files\Microsoft Visual
> Studio .NET 2003\Vc7\include;C:\Program Files\Microsoft Visual Studio
> ..NET 2003\Vc7\PlatformSDK\Include;C:\Program Files\Microsoft Visual
> Studio .NET 2003\Vc7\atlmfc\include
>
> Afterwards, "prefast cl ... && prefast view" works fine.
>
> I have used it only for C projects, so I have no idea how good prefast
> is for C++ source code.
>
> /Johannes
>
> mirage2k2 wrote:
>
> > I want to use prefast on my user mode c++ project. Has anyone tried this?
> > I'm thinking of going to the trouble of building this project in a DDK build
> > environment just so that I can run prefast on it ... it seems prefast only
> > works correctly from a DDK build environment!
> >
> > Has anyone tried to integrate prefast with VS2005 for user mode projects?
> > If not, can anyone suggest a free tool that is equivalent.
> >
> > Mirage2k2.
>
>
> --
> Johannes Passing -
http://int3.de/
>