mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Uncommenting out generic dataflow
This commit is contained in:
@@ -22,30 +22,30 @@ abstract class AdditionalFlowInputStep extends DataFlow::Node {
|
||||
}
|
||||
|
||||
|
||||
// /**
|
||||
// * Generic data source to node input configuration
|
||||
// */
|
||||
// module GenericDataSourceUniversalFlowConfig implements DataFlow::ConfigSig {
|
||||
// predicate isSource(DataFlow::Node source) {
|
||||
// source = any(Crypto::GenericDataSourceInstance i).getOutputNode()
|
||||
// }
|
||||
/**
|
||||
* Generic data source to node input configuration
|
||||
*/
|
||||
module GenericDataSourceUniversalFlowConfig implements DataFlow::ConfigSig {
|
||||
predicate isSource(DataFlow::Node source) {
|
||||
source = any(Crypto::GenericDataSourceInstance i).getOutputNode()
|
||||
}
|
||||
|
||||
// predicate isSink(DataFlow::Node sink) {
|
||||
// sink = any(Crypto::FlowAwareElement other).getInputNode()
|
||||
// }
|
||||
predicate isSink(DataFlow::Node sink) {
|
||||
sink = any(Crypto::FlowAwareElement other).getInputNode()
|
||||
}
|
||||
|
||||
// predicate isBarrierOut(DataFlow::Node node) {
|
||||
// node = any(Crypto::FlowAwareElement element).getInputNode()
|
||||
// }
|
||||
predicate isBarrierOut(DataFlow::Node node) {
|
||||
node = any(Crypto::FlowAwareElement element).getInputNode()
|
||||
}
|
||||
|
||||
// predicate isBarrierIn(DataFlow::Node node) {
|
||||
// node = any(Crypto::FlowAwareElement element).getOutputNode()
|
||||
// }
|
||||
predicate isBarrierIn(DataFlow::Node node) {
|
||||
node = any(Crypto::FlowAwareElement element).getOutputNode()
|
||||
}
|
||||
|
||||
// predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
|
||||
// node1.(AdditionalFlowInputStep).getOutput() = node2
|
||||
// }
|
||||
// }
|
||||
predicate isAdditionalFlowStep(DataFlow::Node node1, DataFlow::Node node2) {
|
||||
node1.(AdditionalFlowInputStep).getOutput() = node2
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user