Seccheck is a security analysis tool for C and C++ code. The original code repository is based on Cppcheck source code.
seccheck [options] [path or source code files]
Any C++ compiler should work.
To build the GUI, you need Qt.
When building the command line tool, PCRE is normally used. PCRE is optional.
There are multiple compilation choices:
- qmake - cross platform build tool
- Windows: Visual Studio or Qt Creator or MinGW
- gnu make
- g++
You can use the gui/gui.pro file to build the GUI.
cd gui
qmake
make
Use the seccheck_vs2010.sln file. The rules are normally enabled.
To compile with rules (PCRE dependency):
- the PCRE dll is needed. It can be downloaded from here.
To compile without rules (no dependencies):
- remove the preprocessor define
HAVE_RULES
from the project - remove the pcre.lib from the project