File tree Expand file tree Collapse file tree 21 files changed +70
-70
lines changed
cpp/ql/src/semmle/code/cpp
csharp/ql/src/semmle/code/csharp/dataflow/internal
src/semmle/code/java/dataflow/internal
library-tests/dataflow/partial
query-tests/security/CWE-190/semmle/tests Expand file tree Collapse file tree 21 files changed +70
-70
lines changed Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
Original file line number Diff line number Diff line change @@ -1260,7 +1260,7 @@ abstract private class AccessPath extends TAccessPath {
12601260
12611261private class AccessPathNil extends AccessPath , TNil {
12621262 override string toString ( ) {
1263- exists ( DataFlowType t | this = TNil ( t ) | result = concat ( ppReprType ( t ) ) )
1263+ exists ( DataFlowType t | this = TNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
12641264 }
12651265
12661266 override AccessPathFront getFront ( ) {
@@ -2081,7 +2081,7 @@ private module FlowExploration {
20812081
20822082 private class PartialAccessPathNil extends PartialAccessPath , TPartialNil {
20832083 override string toString ( ) {
2084- exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( ppReprType ( t ) ) )
2084+ exists ( DataFlowType t | this = TPartialNil ( t ) | result = concat ( " : " + ppReprType ( t ) ) )
20852085 }
20862086
20872087 override AccessPathFront getFront ( ) {
You can’t perform that action at this time.
0 commit comments