C Code Review Linker - crcld

Purpose

The C Code Review Linker links and analyzes the files produced by the C Code Review Compiler (crccc) for code review static analysis. It produces a .crc code review file that can be displayed in OneTest Embedded.

Syntax

crcld <xob>[ <xob>] -CRC=<output> [<options>]

where:

Description

The C Code Review Compiler fits into your compilation sequence with minimal changes.

Options

Command line options can be abbreviated to their shortest unambiguous number of characters and are not case-sensitive.

[-RULE=<file>]

Specifies the code review rule configuration file. By default, a default internal configuration rule set is used

 

[-TEST]

Disables the verification of undefined symbols when using the code review link checker in test mode from HCL OneTest Embedded . So some of the MISRA rules are not verified. To verify these rules, they must be directly run from an application node in HCL OneTest Embedded. For more details, see 'Run a full verification of MISRA rules from an application' page.

List of rules that are not verified when the code review is run in test mode with the link checker:

FOR MISRA 2004:

FOR MISRA 2012:

Example

crcld object.xob main.xob -crc=main.crc

 

Related Topics

Code review overviewRunning a code reviewC Code Review Compiler - crccc