| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
This PR mass-enables diff-informed incremental mode for Swift security queries by adding a new predicate and stubbing out location selection where only one side is used.
Copilot reviewed 20 out of 20 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| swift/ql/lib/codeql/swift/security/regex/RegexInjectionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/XXEQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/WeakPasswordHashingQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/UnsafeUnpackQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/UnsafeJsEvalQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/UncontrolledFormatStringQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/StringLengthConflationQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/StaticInitializationVectorQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/SqlInjectionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/PredicateInjectionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/PathInjectionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/InsufficientHashIterationsQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/HardcodedEncryptionKeyQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/ECBEncryptionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/ConstantSaltQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/ConstantPasswordQuery.qll | Add observeDiffInformedIncrementalMode and getASelectedSourceLocation |
| swift/ql/lib/codeql/swift/security/CommandInjectionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/CleartextTransmissionQuery.qll | Add observeDiffInformedIncrementalMode |
| swift/ql/lib/codeql/swift/security/CleartextLoggingQuery.qll | Add observeDiffInformedIncrementalMode |
swift/ql/lib/codeql/swift/security/RegexInjectionQuery.qll:26
predicate observeDiffInformedIncrementalMode() { any() }
swift/ql/lib/codeql/swift/security/regex/RegexInjectionQuery.qll:26
predicate observeDiffInformedIncrementalMode() { any() }
swift/ql/lib/codeql/swift/security/UnsafeUnpackQuery.qll:30
Location getASelectedSourceLocation(DataFlow::Node sink) { none() }
Sorry, something went wrong.
There was a problem hiding this comment.
I'm a bit confused as to why we didn't merge https://github.com/github/codeql/pull/19662/files first, but LGTM.
Sorry, something went wrong.
|
Thanks! I was leaving the first phase of PRs open in case reviews on the other languages give us something else to change, but actually they are ready to merge (the Go, C++, and Actions PRs are still waiting for a reviewer though). |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Stacks on top of earlier PR: #19659
Uses patch from: https://github.com/github/codeql-patch/pull/88/commits/ec5681e740c18c792443099fb3e413446616a0ee
Adds getASelected{Source,Sink}Location() { none() } override to queries that select a dataflow source or sink as a location, but not both.