File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
lib/semmle/code/cpp/ir/dataflow/internal
test/library-tests/dataflow/dataflow-tests Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1011,7 +1011,7 @@ class CastNode extends Node {
1011
1011
}
1012
1012
1013
1013
cached
1014
- private newtype TDataFlowCallable =
1014
+ newtype TDataFlowCallable =
1015
1015
TSourceCallable ( Cpp:: Declaration decl ) {
1016
1016
not decl instanceof FlowSummaryImpl:: Public:: SummarizedCallable
1017
1017
} or
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ private newtype TIRDataFlowNode =
66
66
TFinalGlobalValue ( Ssa:: GlobalUse globalUse ) or
67
67
TInitialGlobalValue ( Ssa:: GlobalDef globalUse ) or
68
68
TBodyLessParameterNodeImpl ( Parameter p , int indirectionIndex ) {
69
+ not exists ( TSummarizedCallable ( p .getFunction ( ) ) ) and
69
70
// Rule out parameters of catch blocks.
70
71
not exists ( p .getCatchBlock ( ) ) and
71
72
// We subtract one because `getMaxIndirectionsForType` returns the maximum
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ postWithInFlow
32
32
| test.cpp:1077:10:1077:11 | swap output argument | PostUpdateNode should not be the target of local flow. |
33
33
viableImplInCallContextTooLarge
34
34
uniqueParameterNodeAtPosition
35
- | ../../../include/iterator.h:22:3:22:10 | iterator | *0 | ../../../include/iterator.h:22:3:22:10 | [summary param] *0 in iterator | Parameters with overlapping positions. |
36
- | ../../../include/iterator.h:22:3:22:10 | iterator | *0 | ../../../include/iterator.h:22:67:22:71 | *other | Parameters with overlapping positions. |
37
35
uniqueParameterNodePosition
38
36
uniqueContentApprox
39
37
identityLocalStep
You can’t perform that action at this time.
0 commit comments