File tree Expand file tree Collapse file tree 6 files changed +30
-0
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
go/ql/lib/semmle/go/dataflow/internal
java/ql/lib/semmle/code/java/dataflow/internal
python/ql/lib/semmle/python/dataflow/new/internal
ruby/ql/lib/codeql/ruby/dataflow/internal
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 6 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ module Public {
3939 )
4040 or
4141 exists ( ReturnKind rk | this = TReturnSummaryComponent ( rk ) and result = "return (" + rk + ")" )
42+ or
43+ exists ( SummaryComponent:: SyntheticGlobal sg |
44+ this = TSyntheticGlobalSummaryComponent ( sg ) and
45+ result = "synthetic global (" + sg + ")"
46+ )
4247 }
4348 }
4449
You can’t perform that action at this time.
0 commit comments