Skip to content

Commit 2971784

Browse files
committed
Dataflow: Add missing qldoc and sync.
1 parent 7eb64aa commit 2971784

File tree

23 files changed

+748
-70
lines changed

23 files changed

+748
-70
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,8 +3231,10 @@ private module FlowExploration {
32313231
result = " <" + this.(PartialPathNodeFwd).getCallContext().toString() + ">"
32323232
}
32333233

3234+
/** Holds if this is a source in a forward-flow path. */
32343235
predicate isFwdSource() { this.(PartialPathNodeFwd).isSource() }
32353236

3237+
/** Holds if this is a sink in a reverse-flow path. */
32363238
predicate isRevSink() { this.(PartialPathNodeRev).isSink() }
32373239
}
32383240

0 commit comments

Comments
 (0)