PREfast is included in some (but not all) versions of Visual Studio. But because Visual Studio is a huge download,of several GB and the version of PREfast and the syntax used varies between Visual Studio versions, we provide two simple ways to use PREfast from the command line:
To use, just unzip the archive in some directory. Open a Command Prompt or PowerShell and navigate to the directory. Then just run prefast.bat to run PREfast over the exercise file, or prefast.bat FILENAME if you renamed the exercise file.
PREfast can run on Unix/Linux using wine. Install wine using your systems package manager or download and install it manually from its website.
Unpack the TAR.GZ archive - the link is on Brightspace. Now, on the command-line go to this directory and use ./prefast to check the exercise file or ./prefast FILENAME if you renamed the file.
Wine may (will?) complain about a non-existent directory C:\users\pim\Temp. To fix that