mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Merge pull request #19757 from d10c/d10c/actions/diff-informed-2
Actions: mass-enable diff-informed queries phase 2 - `getASelected{Source,Sink}Location() { none() }`
This commit is contained in:
@@ -216,6 +216,8 @@ private module OutputClobberingConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Tracks flow of unsafe user input that is used to construct and evaluate an environment variable. */
|
/** Tracks flow of unsafe user input that is used to construct and evaluate an environment variable. */
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ private module RequestForgeryConfig implements DataFlow::ConfigSig {
|
|||||||
predicate isSink(DataFlow::Node sink) { sink instanceof RequestForgerySink }
|
predicate isSink(DataFlow::Node sink) { sink instanceof RequestForgerySink }
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Tracks flow of unsafe user input that is used to construct and evaluate a system command. */
|
/** Tracks flow of unsafe user input that is used to construct and evaluate a system command. */
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ private module SecretExfiltrationConfig implements DataFlow::ConfigSig {
|
|||||||
predicate isSink(DataFlow::Node sink) { sink instanceof SecretExfiltrationSink }
|
predicate isSink(DataFlow::Node sink) { sink instanceof SecretExfiltrationSink }
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Tracks flow of unsafe user input that is used in a context where it may lead to a secret exfiltration. */
|
/** Tracks flow of unsafe user input that is used in a context where it may lead to a secret exfiltration. */
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ private module MyConfig implements DataFlow::ConfigSig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
predicate observeDiffInformedIncrementalMode() { any() }
|
predicate observeDiffInformedIncrementalMode() { any() }
|
||||||
|
|
||||||
|
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
|
||||||
}
|
}
|
||||||
|
|
||||||
module MyFlow = TaintTracking::Global<MyConfig>;
|
module MyFlow = TaintTracking::Global<MyConfig>;
|
||||||
|
|||||||
Reference in New Issue
Block a user