Skip to content

Commit 45e2a13

Browse files
authored
Merge pull request github#11494 from owen-mc/dataflow/some-trivial-fixes
Dataflow: some trivial fixes
2 parents 1ce2854 + 75940dc commit 45e2a13

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+40
-47
lines changed

CODEOWNERS

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,6 @@
1212
# ML-powered queries
1313
/javascript/ql/experimental/adaptivethreatmodeling/ @github/codeql-ml-powered-queries-reviewers
1414

15-
# Notify members of codeql-go about PRs to the shared data-flow library files
16-
/java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl.qll @github/codeql-java @github/codeql-go
17-
/java/ql/src/semmle/code/java/dataflow/internal/DataFlowImpl2.qll @github/codeql-java @github/codeql-go
18-
/java/ql/src/semmle/code/java/dataflow/internal/DataFlowImplCommon.qll @github/codeql-java @github/codeql-go
19-
/java/ql/src/semmle/code/java/dataflow/internal/tainttracking1/TaintTrackingImpl.qll @github/codeql-java @github/codeql-go
20-
/java/ql/src/semmle/code/java/dataflow/internal/tainttracking2/TaintTrackingImpl.qll @github/codeql-java @github/codeql-go
21-
2215
# CodeQL tools and associated docs
2316
/docs/codeql/codeql-cli/ @github/codeql-cli-reviewers
2417
/docs/codeql/codeql-for-visual-studio-code/ @github/codeql-vscode-reviewers

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ abstract class Configuration extends string {
7070
/**
7171
* Holds if `sink` is a relevant data flow sink accepting `state`.
7272
*/
73-
predicate isSink(Node source, FlowState state) { none() }
73+
predicate isSink(Node sink, FlowState state) { none() }
7474

7575
/**
7676
* Holds if data flow through `node` is prohibited. This completely removes

0 commit comments

Comments
 (0)