Skip to content

RULE-8-3: False positives for object declarations that don't share a link target #694

Closed
@lcartey

Description

@lcartey

Affected rules

  • RULE-8-3

Description

CodeQL databases containing multiple separate binaries can have false positives for this rule where each separate binary may include a declaration of the same qualified name, but referring to a different type.

Add awareness of the link targets in order to exclude this type of false positive.

Example

file1.cpp:

int x;

file2.cpp:

char y;

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions