cppcheck/tools/triage
Rainer Wiesenfarth f4f58bf020
Fix #11081 GUI: Windows release build crashes (#5083)
* Fix #11081 GUI: Windows release build crashes

Use generator expressions rather than if statements when adding compiler
options or definitions.

* Fix #11081 GUI: Windows CMake debug build fails with default options

When DISABLE_CRTDBG_MAP_ALLOC is using the default value (OFF), the
debug build of cppcheck-gui fails, as the "realloc" method names in some
of the Qt headers are replaced by the macro defined by the compiler.
Thus DISABLE_CRTDBG_MAP_ALLOC is explicitely set when compiling
cppcheck-gui in Debug mode using MSVC.
2023-06-07 11:33:55 +02:00
..
.gitignore Triage tool usability improvement (#2319) 2019-11-01 09:29:00 +01:00
CMakeLists.txt Fix #11081 GUI: Windows release build crashes (#5083) 2023-06-07 11:33:55 +02:00
main.cpp reordered includes in GUI code (#3790) 2022-02-02 16:17:28 +01:00
mainwindow.cpp Fix FN constVariablePointer (#5076) 2023-05-22 19:53:51 +02:00
mainwindow.h iwyu.yml: use a distro which has the latest `include-what-you-use` / enabled Qt mappings / cleaned up includes (#4885) 2023-04-08 16:08:47 +02:00
mainwindow.ui Triage cleanup (#2324) 2019-11-04 07:10:31 +01:00
readme.txt added .gitattributes and normalized files (#4668) 2022-12-30 21:33:45 +01:00
triage.pro selfcheck : cleaned up some suppressions, fixed warnings and some cleanups (#4436) 2022-09-06 23:11:39 +02:00

readme.txt

triage tool
This tool lets you comfortably look at Cppcheck analysis results for daca packages. It automatically
downloads the package, extracts it and jumps to the corresponding source code for a Cppcheck
message.

triage uses "wget" and "tar"
On Linux the tool can be directly run since the programs should be installed.
On Windows something like Cygwin is necessary and the directory containing the executables must be
in the PATH environment variable (for example "C:\cygwin\bin").

Usage:
After triage has been started you have to load daca results from a file via the "Load from file"
button or from the clipboard via the "Load from clipboard" button.
The file or clipboard text must contain the package URL line beginning with "ftp://" and the
Cppcheck messages.
When the results data has been parsed successfully you can see a list of Cppcheck messages directly
beneath the "Load ..." buttons. Double-click any entry to let the tool show the source code and jump
to and mark the corresponding line. If the package is not found it is downloaded and extracted
automatically. So after the first double-click it is normal that it takes some time until the
source code is shown.