Locate and fix 'System' issues
If you are tasked with fixing issues of "System" origin you can locate these issues using the --id-system option of kwcheck list.
For example:
kwcheck list --id-system 6
Output
1 (System: 6) /space/test.lab/Git/scripts/kwcheck/PR33321/src/foo.cc:16 NPD.FUNC.MUST Analyze Pointer 'p' returned from call to function 'bar' at line 11 may be NULL and will be dereferenced at line 16. Summary: 0 Local, 1 System 1 Total Issue(s)
The Local ID is listed before the System ID.
To list all system issues (and no local issues):
kwcheck list --system --no-local