C and C++ Binaries

Data Type: struct cs_warning_retraction_info_t

A struct that contains information describing the cases in which a warning instance should be retracted.

The following functions have an in-out cs_warning_retraction_info_t parameter:

Before calling one of these functions, populate the appropriate fields of the cs_warning_retraction_info_t parameter with lists of PDGs and compilation units such that if any of the listed PDGs or compilation units change between incremental analyses, the warning instance will be retracted during the drop phase.

Note that a new warning instance in the same group may be issued in one of the later analysis phases (serial depth-first, parallel depth-first, or bottom-up) if the analysis determines that the problem still exists.

Use CS_WARNING_RETRACTION_INFO_STATIC_NULL to initialize a cs_warning_retraction_info_t variable.

Defined in file csonar_plugin.h.



Public Attributes

cs_size_t num_bu_pdgs The number of entries in bu_pdgs.
cs_size_t num_pdgs The number of entries in pdgs.
cs_size_t num_uids The number of entries in uids.
cs_pdg * bu_pdgs If any cs_pdg in this list is visited in the bottom-up phase, retract the warning instance. Note that retraction always occurs in the drop phase: the bottom-up phase has not yet occurred at this point, but the set of procedures to be visited in the bottom-up phase is known.
cs_pdg * pdgs If any cs_pdg in this list is changed between incremental analyses, retract the warning instance.
cs_uid * uids If any compilation unit whose cs_uid is in this list is changed between incremental analyses, retract the warning instance.