GBS Logo HELP HOME Generic Build Support (GBS) - User Manual
Auditing (e.g. QAC, PCLint, C++Test) Bottom Doc. Button
Release RMC-06.02
(2024-04-29)


- Home
Getting Started
- Quick Start
- Release Notes
- Install Notes
- Create a GBS-WA/System
- FAQ
- Terms and Conditions (The Fine Print)
Basics
- Definitions & Acronyms
- Introduction
- Top Level Directory Structure
- Full Directory Structure
- Handling SubSystems & Steps
- Procedures
- Software Configuration Management Support

Manual Pages
- The Command-Line Interface
- All Commands
- The gbssys... Commands
- Generating Code (Building)
- Libraries & Executables and Testing
- Exporting Deliverables
- Auditing
- Customisations (Session)
- Customisations (User)
- Customisations (Admin)
- Integration with other Tools
- Plugins (Admin)
- Environment Variables (EnvVars)
User Files
- The GLKBT (glk/glb/glt) Files
Internal (.gbs) Files
- GBS Files - General
- audit.gbs
- broadcast.gbs
- build.gbs
- export.gbs
- flags_*.gbs
- subsys.gbs (.bat/.sh)
- incs_*.gbs
- owners.gbs
- sca_*.gbs
- scope.gbs
- site.gbs (.bat/.sh)
- steps.gbs
- switch.gbs (.bat/.sh)
- system.gbs
- tool.gbs
Various
- Development
- About
- Metrics Help

Full Documentation
- All Docs - Printable


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

Description
Predefined Audits

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:

  • 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++ 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:

  • 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 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:

  • Header-files are already checked when included in a source-file, so there is no need to audit them separately.

C++test Bottom Doc. Button Top Document Button Down Section Button Up Section Button Down Chapter Button Up Chapter Button

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

auditing.html