Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfd9c08

Browse files
yoffRasmusWL
andauthored
Apply suggestions from code review
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent bd53a71 commit bfd9c08

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/ql/src/experimental/dataflow/internal/DataFlowPrivate.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,16 +352,16 @@ predicate comprehensionStoreStep(CfgNode nodeFrom, Content c, CfgNode nodeTo) {
352352
* Holds if data can flow from `nodeFrom` to `nodeTo` via a read of content `c`.
353353
*/
354354
predicate readStep(Node nodeFrom, Content c, Node nodeTo) {
355-
subscriptionReadStep(nodeFrom, c, nodeTo)
355+
subscriptReadStep(nodeFrom, c, nodeTo)
356356
or
357357
popReadStep(nodeFrom, c, nodeTo)
358358
or
359359
comprehensionReadStep(nodeFrom, c, nodeTo)
360360
}
361361

362362
/** Data flows from a sequence to a subscript of the sequence. */
363-
predicate subscriptionReadStep(CfgNode nodeFrom, Content c, CfgNode nodeTo) {
364-
// Subscription
363+
predicate subscriptReadStep(CfgNode nodeFrom, Content c, CfgNode nodeTo) {
364+
// Subscript
365365
// `l[3]`
366366
// nodeFrom is `l`, cfg node
367367
// nodeTo is `l[3]`, cfg node

0 commit comments

Comments
 (0)