Skip to content

Commit 2c37885

Browse files
smowtonaschackmull
authored andcommitted
Sync dataflow
1 parent 7c9b44b commit 2c37885

File tree

26 files changed

+26
-26
lines changed

26 files changed

+26
-26
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImplLocal.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3742,7 +3742,7 @@ private predicate pathSuccPlus(PathNode n1, PathNode n2) = fastTC(pathSucc/2)(n1
37423742
*/
37433743
module PathGraph {
37443744
/** Holds if `(a,b)` is an edge in the graph of data flow path explanations. */
3745-
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(b) }
3745+
query predicate edges(PathNode a, PathNode b) { a.getASuccessor() = b and reach(a) and reach(b) }
37463746

37473747
/** Holds if `n` is a node in the graph of data flow path explanations. */
37483748
query predicate nodes(PathNode n, string key, string val) {

0 commit comments

Comments
 (0)