File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed
cpp/ql/src/semmle/code/cpp
csharp/ql/src/semmle/code/csharp/dataflow/internal
java/ql/src/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private module ImplCommon {
3535 or
3636 exists ( Node mid |
3737 parameterValueFlowNoCtx ( p , mid ) and
38- localFlowStep ( mid , node ) and
38+ simpleLocalFlowStep ( mid , node ) and
3939 compatibleTypes ( p .getType ( ) , node .getType ( ) )
4040 )
4141 or
@@ -152,7 +152,7 @@ private module ImplCommon {
152152 or
153153 exists ( Node mid |
154154 parameterValueFlow ( p , mid , cc ) and
155- localFlowStep ( mid , node ) and
155+ simpleLocalFlowStep ( mid , node ) and
156156 compatibleTypes ( p .getType ( ) , node .getType ( ) )
157157 )
158158 or
@@ -209,7 +209,7 @@ private module ImplCommon {
209209 * through a value-preserving method.
210210 */
211211 private predicate localValueStep ( Node node1 , Node node2 ) {
212- localFlowStep ( node1 , node2 ) or
212+ simpleLocalFlowStep ( node1 , node2 ) or
213213 argumentValueFlowsThrough ( node1 , node2 , _)
214214 }
215215
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private module ImplCommon {
3535 or
3636 exists ( Node mid |
3737 parameterValueFlowNoCtx ( p , mid ) and
38- localFlowStep ( mid , node ) and
38+ simpleLocalFlowStep ( mid , node ) and
3939 compatibleTypes ( p .getType ( ) , node .getType ( ) )
4040 )
4141 or
@@ -152,7 +152,7 @@ private module ImplCommon {
152152 or
153153 exists ( Node mid |
154154 parameterValueFlow ( p , mid , cc ) and
155- localFlowStep ( mid , node ) and
155+ simpleLocalFlowStep ( mid , node ) and
156156 compatibleTypes ( p .getType ( ) , node .getType ( ) )
157157 )
158158 or
@@ -209,7 +209,7 @@ private module ImplCommon {
209209 * through a value-preserving method.
210210 */
211211 private predicate localValueStep ( Node node1 , Node node2 ) {
212- localFlowStep ( node1 , node2 ) or
212+ simpleLocalFlowStep ( node1 , node2 ) or
213213 argumentValueFlowsThrough ( node1 , node2 , _)
214214 }
215215
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private module ImplCommon {
3535 or
3636 exists ( Node mid |
3737 parameterValueFlowNoCtx ( p , mid ) and
38- localFlowStep ( mid , node ) and
38+ simpleLocalFlowStep ( mid , node ) and
3939 compatibleTypes ( p .getType ( ) , node .getType ( ) )
4040 )
4141 or
@@ -152,7 +152,7 @@ private module ImplCommon {
152152 or
153153 exists ( Node mid |
154154 parameterValueFlow ( p , mid , cc ) and
155- localFlowStep ( mid , node ) and
155+ simpleLocalFlowStep ( mid , node ) and
156156 compatibleTypes ( p .getType ( ) , node .getType ( ) )
157157 )
158158 or
@@ -209,7 +209,7 @@ private module ImplCommon {
209209 * through a value-preserving method.
210210 */
211211 private predicate localValueStep ( Node node1 , Node node2 ) {
212- localFlowStep ( node1 , node2 ) or
212+ simpleLocalFlowStep ( node1 , node2 ) or
213213 argumentValueFlowsThrough ( node1 , node2 , _)
214214 }
215215
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ private module ImplCommon {
3535 or
3636 exists ( Node mid |
3737 parameterValueFlowNoCtx ( p , mid ) and
38- localFlowStep ( mid , node ) and
38+ simpleLocalFlowStep ( mid , node ) and
3939 compatibleTypes ( p .getType ( ) , node .getType ( ) )
4040 )
4141 or
@@ -152,7 +152,7 @@ private module ImplCommon {
152152 or
153153 exists ( Node mid |
154154 parameterValueFlow ( p , mid , cc ) and
155- localFlowStep ( mid , node ) and
155+ simpleLocalFlowStep ( mid , node ) and
156156 compatibleTypes ( p .getType ( ) , node .getType ( ) )
157157 )
158158 or
@@ -209,7 +209,7 @@ private module ImplCommon {
209209 * through a value-preserving method.
210210 */
211211 private predicate localValueStep ( Node node1 , Node node2 ) {
212- localFlowStep ( node1 , node2 ) or
212+ simpleLocalFlowStep ( node1 , node2 ) or
213213 argumentValueFlowsThrough ( node1 , node2 , _)
214214 }
215215
You can’t perform that action at this time.
0 commit comments