Contents
Description
Predefined Audits
Description
gbsaudit
The gbsaudit command will run an audit for one or more files in a Component.
It will generate a concatenated Audit output file optionally followed by a Summary.
The Summary is also generated in a separate file.
Upon completion the output file(s) are presented to the caller in a separate window.
The syntax of the gbsaudit command can be found here.
Notes:
An Audit will only run for SubSystems that
- Are Full-GBS and
Contain an Audit specific directory in the GBS_AUDIT_PATH directory.
- Are Non-GBS and
Contain an audit script in the GBS_SUBSYS_PATH directory
Predefined audits can be installed with the gbsmaint command.
gbssysaudit
Executes the audit on all files in one or more or all SubSystems in a System (provided the SubSystem is enabled for the audit)
The syntax of the gbssysaudit command can be found here.
Predefined Audits
QAC
Audit name:
qac
Required:
GBSEXT_QAC_PATH
| The main directory for QAC
| GBSEXT_QAC_REL
| The selected QAC release
|
Include-file handling
Same way as for C-compilation
Note: #include "../../../file.h" notations are not handled correctly as they are not ANSI-C compliant.
Handling of compile time options
Same way as for C compilations
General Notes:
- To obtain a list of qac-options enter: man qac
- Do not qac same-name-file.c and same-name-file.h in one run:
the database between qac1 and qac2 gets confused.
Header-files are already checked when included in a source-file, so there is no need to audit them separately.
QAC++
Audit name:
qacpp
Required:
GBSEXT_QACPP_PATH
| The main directory for QAC++
| GBSEXT_QACPP_REL
| The selected QAC++ release
|
Include-file handling
Same way as for C++-compilation
Note: #include "../../../file.h" notations are not handled correctly as they are not ANSI-C++ compliant.
Handling of compile time options
Same way as for C++ compilations
General Notes:
- To obtain a list of qac++-options enter: man qac++
- Do not qac++ same-name-file.cpp and same-name-file.h in one run:
the database between qac++1 and qac++2 gets confused.
Header-files are already checked when included in a source-file, so there is no need to audit them separately.
PCLint
Audit name:
pclint
Required:
GBSEXT_PCLINT_PATH
| The main directory for PCLint
| GBSEXT_PCLINT_REL
| The selected PCLint release
|
Include-file handling
Same way as for C and C++-compilation
Note: #include "../../../file.h" notations are not handled correctly as they are not ANSI-C/ANSI-C++ compliant.
Handling of compile time options
Same way as for C and C++ compilations
General Notes:
- Header-files are already checked when included in a source-file, so there is no need
to audit them separately.
C++test
Audit name:
cpptest
Required:
GBSEXT_CPPTEST_PATH
| The main directory for C++test
| GBSEXT_CPPTEST_REL
| The selected C++test release
|
Include-file handling
Same way as for C and C++-compilation
Note: #include "../../../file.h" notations are not handled correctly as they are not ANSI-C/ANSI-C++ compliant.
Handling of compile time options
Same way as for C and C++ compilations
General Notes:
- Header-files are not checked
|