GBS Logo HOME Generic Build Support (GBS) - User Manual
Auditing (e.g. QAC, PCLint) Bottom Doc. Button

Contents Bottom Doc. Button Top Document Button Down Section Button Blank

Description
gbsaudit| gbssysaudit
Predefined Audits
QAC| QAC++| PCLint

Description Bottom Doc. Button Top Document Button Down Section Button Up Section Button

gbsaudit Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Blank

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

  1. Are Full-GBS and
    Contain an Audit specific directory in the GBS_AUDIT_PATH directory.
  2. Are Non-GBS and
    Contain an audit script in the GBS_SUBSYS_PATH directory

Predefined audits can be installed with the gbsmaint command.

gbssysaudit Bottom Doc. Button Top Document Button Down Section Button Up Section Button Blank Up Chapter Button

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 Bottom Doc. Button Top Document Button Down Section Button Up Section Button

QAC Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Blank

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:

QAC++ Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

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:

PCLint Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

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: