Owen Mansel-Chan
62653fbec5
Simplify return statements in tryReadGoDirective
...
This makes it easier to reason about what is returned and would have
avoided the bug with variable shadowing.
2023-05-03 16:55:19 +01:00
Owen Mansel-Chan
d30b736eb2
Move check for EmitNewerGoVersionNeeded diagnostic
...
This should only be done when --identify-environment has not been passed
2023-05-03 16:52:48 +01:00
Mathias Vorreiter Pedersen
8ef961b776
Merge pull request #13017 from MathiasVP/fix-todos-in-flow-summary-2
...
Swift: Fix TODO by reorganizing model imports
2023-05-03 16:48:58 +01:00
Owen Mansel-Chan
afb692300a
Fix typo in field name
2023-05-03 16:46:44 +01:00
Rasmus Wriedt Larsen
c9680b9202
Misc: Look for .expected changes from integration-tests...
2023-05-03 17:40:21 +02:00
Rasmus Wriedt Larsen
b048f9d8c4
Misc: Allow specifying SHA directly to script
2023-05-03 17:39:20 +02:00
Owen Mansel-Chan
742a6d9264
Fix accidental variable shadowing
2023-05-03 16:32:53 +01:00
Rasmus Wriedt Larsen
e3fc6d67cc
Misc: Allow no internal CI
2023-05-03 17:31:52 +02:00
shati-patel
12507aac90
Update screenshots and docs for changes to MRVA results view
2023-05-03 16:04:07 +01:00
Owen Mansel-Chan
347b5f1b1a
Remove unused code
2023-05-03 16:03:17 +01:00
Owen Mansel-Chan
509dda5af5
Use raw string literals to avoid double-escaping
2023-05-03 16:02:36 +01:00
Owen Mansel-Chan
4de4f35855
Merge pull request #12957 from owen-mc/go/autobuilder-identify-environment
...
Go: Add `go-autobuilder --identify-environment`
2023-05-03 16:01:45 +01:00
Mathias Vorreiter Pedersen
0d6fdc674b
C++: Also account for setter-related flow and jump steps.
2023-05-03 15:47:12 +01:00
Jami Cogswell
2e683b3dd2
Java: add change note
2023-05-03 10:43:50 -04:00
Alex Ford
e7213e92cf
Merge remote-tracking branch 'origin/main' into rb/sqlite3
2023-05-03 15:18:07 +01:00
Alex Ford
6e6eee2dab
Ruby: add test case for instance variable flow with sqlite3
2023-05-03 15:16:16 +01:00
Paolo Tranquilli
a30d5f5030
Swift: fix diagnostic source creation being called really once
2023-05-03 16:14:22 +02:00
Jami Cogswell
1d39402c98
Java: remove url-open-stream from cwe-sink csv; this removes CWE-036 from the framework coverage report
2023-05-03 10:12:12 -04:00
Alex Ford
a26f9736f1
Ruby: add change note for sqlite3 support
2023-05-03 15:12:06 +01:00
Asger F
1a9956354e
JS: Restrict getInput to indirect command injection query
2023-05-03 16:10:03 +02:00
Jami Cogswell
2224c5d9be
Java: remove url-open-stream kind from getInvalidModelKind
2023-05-03 10:08:50 -04:00
Paolo Tranquilli
8873e42cb1
Swift: removed unused date dependency
2023-05-03 16:02:26 +02:00
Stephan Brandauer
32f2614fe0
add typecheckable mechanism to enforce minimal set of metadata
2023-05-03 16:00:50 +02:00
Jami Cogswell
9cdb9d6fbe
Java: remove url-open-stream kind from docs
2023-05-03 10:00:05 -04:00
Jami Cogswell
917268e7e6
Java: activate the models in openstream query
2023-05-03 09:57:45 -04:00
Geoffrey White
02ae44a911
Update docs/codeql/codeql-language-guides/analyzing-data-flow-in-swift.rst
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2023-05-03 14:48:27 +01:00
Kasper Svendsen
46727af948
Go: Enable warnings for implicit this receivers
2023-05-03 15:41:55 +02:00
Erik Krogh Kristensen
f29db40371
Merge pull request #13011 from kaspersv/kaspersv/explicit-this-receivers-shared2
...
JS, Python, Ruby: Make implicit this receivers explicit
2023-05-03 15:34:59 +02:00
Mathias Vorreiter Pedersen
59e495aa31
Swift: Reorganize MaD rows and frameworks to ensure we always import all frameworks in 'ExternalFlow.qll' and 'FlowSummary.qll'.
2023-05-03 14:34:43 +01:00
Geoffrey White
02dc9be239
Swift: Fix the versions in 'examples' as well.
2023-05-03 14:31:48 +01:00
Kasper Svendsen
67950c8e6b
JS: Make implicit this receivers explicit
2023-05-03 15:31:00 +02:00
Geoffrey White
2999b5fea1
Swift: Mathias's fix for the non-constant format example.
2023-05-03 14:29:39 +01:00
Paolo Tranquilli
1d492f89cc
Merge branch 'main' into redsun82/swift-logging-assertions-and-prints
2023-05-03 15:19:08 +02:00
Paolo Tranquilli
51763d65b0
Swift: reshape a TODO into another
2023-05-03 15:18:35 +02:00
Mathias Vorreiter Pedersen
1c80175a34
Merge pull request #13009 from MathiasVP/fix-tostring-on-regex-literals
...
Swift: Fix TODO on regex literals's `toString`
2023-05-03 14:17:50 +01:00
Jami Cogswell
f8b39fda2e
Java: switch url-open-stream models to experimentalSinkModel
2023-05-03 09:11:24 -04:00
Kasper Svendsen
ea75996932
Merge pull request #13005 from kaspersv/kaspersv/ruby-explicit-this-receivers
...
Ruby: Make implicit this receivers explicit
2023-05-03 14:57:43 +02:00
Paolo Tranquilli
7709bc76a8
Merge branch 'main' into redsun82/swift-json
2023-05-03 14:55:05 +02:00
Paolo Tranquilli
f461e719da
Swift: fix wrong condition for log
2023-05-03 14:54:28 +02:00
Mathias Vorreiter Pedersen
af18c98028
Swift: Fix TODOs in 'FlowSummary.qll'
2023-05-03 13:48:17 +01:00
Owen Mansel-Chan
3f645e9401
Merge pull request #13006 from kaspersv/kaspersv/go-explicit-this-receivers
...
Go: Make implicit this receivers explicit
2023-05-03 13:47:10 +01:00
Mathias Vorreiter Pedersen
1f018d69ab
Swift: Accept test changes.
2023-05-03 13:45:17 +01:00
Stephan Brandauer
6d29273c43
make framework mode explicit in file/module names
2023-05-03 14:36:42 +02:00
Geoffrey White
1084d7ff0e
Swift: Correct a couple more cases.
2023-05-03 13:35:07 +01:00
Paolo Tranquilli
8de2f9958e
Swift: add support to output JSON diagnostics
...
New `DIAGNOSE_ERROR` and `DIAGNOSE_CRITICAL` macros are added.
These accept an ID which should indicate a diagnostic source via
a function definition in `codeql::diagnostics`, together with the usual
format + arguments accepted by other `LOG_*` macros.
When the log is flushed, these special logs will result in an error JSON
diagnostic entry in the database.
2023-05-03 14:32:31 +02:00
Paolo Tranquilli
0ad529dff8
Swift: move logging to a common directory
2023-05-03 14:32:31 +02:00
Paolo Tranquilli
c7c12a7108
Swift: add json and date dependencies
2023-05-03 14:32:30 +02:00
Geoffrey White
2fd8b87bcd
Apply suggestions from code review
...
Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com >
2023-05-03 13:31:27 +01:00
Stephan Brandauer
dfb9d88198
fix ql-for-ql errors
2023-05-03 14:17:11 +02:00
Ian Lynagh
b56b843d13
Merge pull request #12987 from github/post-release-prep/codeql-cli-2.13.1
...
Post-release preparation for codeql-cli-2.13.1
2023-05-03 13:12:10 +01:00