Skip to content

Commit 67bccc3

Browse files
committed
Swift: mass-add none() location overrides
1 parent 17cd58b commit 67bccc3

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

swift/ql/lib/codeql/swift/security/ConstantPasswordQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ module ConstantPasswordConfig implements DataFlow::ConfigSig {
4040
}
4141

4242
predicate observeDiffInformedIncrementalMode() { any() }
43+
44+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
4345
}
4446

4547
module ConstantPasswordFlow = TaintTracking::Global<ConstantPasswordConfig>;

swift/ql/lib/codeql/swift/security/InsufficientHashIterationsQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ module InsufficientHashIterationsConfig implements DataFlow::ConfigSig {
3636
}
3737

3838
predicate observeDiffInformedIncrementalMode() { any() }
39+
40+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
3941
}
4042

4143
module InsufficientHashIterationsFlow = TaintTracking::Global<InsufficientHashIterationsConfig>;

swift/ql/lib/codeql/swift/security/StaticInitializationVectorQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ module StaticInitializationVectorConfig implements DataFlow::ConfigSig {
4242
}
4343

4444
predicate observeDiffInformedIncrementalMode() { any() }
45+
46+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
4547
}
4648

4749
module StaticInitializationVectorFlow = TaintTracking::Global<StaticInitializationVectorConfig>;

swift/ql/lib/codeql/swift/security/StringLengthConflationQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ module StringLengthConflationConfig implements DataFlow::StateConfigSig {
4141
}
4242

4343
predicate observeDiffInformedIncrementalMode() { any() }
44+
45+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
4446
}
4547

4648
/**

swift/ql/lib/codeql/swift/security/UnsafeJsEvalQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ module UnsafeJsEvalConfig implements DataFlow::ConfigSig {
2424
}
2525

2626
predicate observeDiffInformedIncrementalMode() { any() }
27+
28+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2729
}
2830

2931
/**

swift/ql/lib/codeql/swift/security/UnsafeUnpackQuery.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ module UnsafeUnpackConfig implements DataFlow::ConfigSig {
2626
}
2727

2828
predicate observeDiffInformedIncrementalMode() { any() }
29+
30+
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
2931
}
3032

3133
/**

0 commit comments

Comments
 (0)