File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
python/ql/lib/semmle/python Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ module Path {
181
181
}
182
182
}
183
183
184
- /** A data-flow node that checks that a path is safe to access. */
184
+ /** A data-flow node that checks that a path is safe to access in some way, for example by having a controlled prefix . */
185
185
class SafeAccessCheck extends DataFlow:: ExprNode {
186
186
SafeAccessCheck ( ) { this = DataFlow:: BarrierGuard< safeAccessCheck / 3 > :: getABarrierNode ( ) }
187
187
}
@@ -192,7 +192,7 @@ module Path {
192
192
193
193
/** Provides a class for modeling new path safety checks. */
194
194
module SafeAccessCheck {
195
- /** A data-flow node that checks that a path is safe to access. */
195
+ /** A data-flow node that checks that a path is safe to access in some way, for example by having a controlled prefix . */
196
196
abstract class Range extends DataFlow:: GuardNode {
197
197
/** Holds if this guard validates `node` upon evaluating to `branch`. */
198
198
abstract predicate checks ( ControlFlowNode node , boolean branch ) ;
Original file line number Diff line number Diff line change @@ -290,7 +290,7 @@ module Path {
290
290
}
291
291
}
292
292
293
- /** A data-flow node that checks that a path is safe to access. */
293
+ /** A data-flow node that checks that a path is safe to access in some way, for example by having a controlled prefix . */
294
294
class SafeAccessCheck extends DataFlow:: ExprNode {
295
295
SafeAccessCheck ( ) { this = DataFlow:: BarrierGuard< safeAccessCheck / 3 > :: getABarrierNode ( ) }
296
296
}
@@ -301,7 +301,7 @@ module Path {
301
301
302
302
/** Provides a class for modeling new path safety checks. */
303
303
module SafeAccessCheck {
304
- /** A data-flow node that checks that a path is safe to access. */
304
+ /** A data-flow node that checks that a path is safe to access in some way, for example by having a controlled prefix . */
305
305
abstract class Range extends CfgNodes:: AstCfgNode {
306
306
/** Holds if this guard validates `node` upon evaluating to `branch`. */
307
307
abstract predicate checks ( Cfg:: CfgNode node , boolean branch ) ;
You can’t perform that action at this time.
0 commit comments