Skip to content

Commit 2466288

Browse files
committed
Data flow: Simplify revFlowStore
1 parent cf0a1e7 commit 2466288

29 files changed

+29
-29
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
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -782,7 +782,7 @@ private module Stage1 {
782782
private predicate revFlowStore(Content c, NodeEx node, boolean toReturn, Configuration config) {
783783
exists(NodeEx mid, TypedContent tc |
784784
revFlow(mid, toReturn, pragma[only_bind_into](config)) and
785-
fwdFlowConsCandSet(_, c, pragma[only_bind_into](config)) and
785+
fwdFlowConsCand(c, pragma[only_bind_into](config)) and
786786
store(node, tc, mid, _, config) and
787787
c = tc.getContent()
788788
)

0 commit comments

Comments
 (0)