Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.18.1 Upgrade #76

Merged
merged 369 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
369 commits
Select commit Hold shift + click to select a range
8818f63
C++: Add some practical details to the examples.
geoffw0 Jul 8, 2024
d5d04f2
C++: Add a 'cpp/unsafe-strncat' FP.
MathiasVP Jul 8, 2024
bb78536
Install script: Windows-compatible cleanup path.
criemen Jul 8, 2024
80bd361
Merge pull request #16926 from github/post-release-prep/codeql-cli-2.…
angelapwen Jul 8, 2024
962c73d
C++: Promote 'cpp/unsafe-strncat' to Code Scanning.
MathiasVP Jul 8, 2024
eec2aa8
Add failing tests for `ClearSanitizer`
owen-mc Jul 8, 2024
68929d1
Fix definition of `ClearSanitizer`
owen-mc Jul 8, 2024
9cfd06c
C++: Increase the precision of 'cpp/unsafe-strncat' to high.
MathiasVP Jul 8, 2024
a774aac
Add change note
owen-mc Jul 8, 2024
8df2e49
address review
criemen Jul 8, 2024
16660ab
address review
criemen Jul 8, 2024
496e76c
Merge pull request #16931 from owen-mc/go/fix/clear-sanitizer
owen-mc Jul 8, 2024
f87e680
Merge pull request #16928 from github/criemen/install-remove
criemen Jul 8, 2024
2c5f007
Merge pull request #16929 from MathiasVP/add-unsafe-strncat-fp
MathiasVP Jul 8, 2024
39ad4d4
Merge pull request #16930 from MathiasVP/promote-unsafe-strncat-to-co…
MathiasVP Jul 8, 2024
6359388
Merge pull request #16915 from MathiasVP/fix-iterator-to-expired-cont…
MathiasVP Jul 9, 2024
48edb77
C++: Add 'cpp/iterator-to-expired-container' FP.
MathiasVP Jul 9, 2024
d41eae6
SSA: Add data-flow integration layer
hvitved Jul 3, 2024
a8b976b
Python: Always log errors before writing diagnostics
RasmusWL Jul 9, 2024
c1da2c1
Python: Gracefully handle exceptions in diagnostics writing
RasmusWL Jul 9, 2024
6b3625e
Python: Handle diagnostics writing for BuiltinModuleExtractable
RasmusWL Jul 9, 2024
60d1dc8
Python: Bump extractor version
RasmusWL Jul 9, 2024
86afd54
Moved new query to 'experimental'
aegilops Jul 9, 2024
81593ec
Merge pull request #16935 from MathiasVP/iterator-to-expired-containe…
MathiasVP Jul 9, 2024
dae2aeb
QLDoc
aegilops Jul 9, 2024
0aab2ae
Formatting of QLL
aegilops Jul 9, 2024
01ec7c2
Fixed test
aegilops Jul 9, 2024
7928d75
Address review comment
hvitved Jul 10, 2024
ccf56a2
C#: Order files in buildless extraction
tamasvajk Jul 10, 2024
8979bac
Update shared/ssa/codeql/ssa/Ssa.qll
hvitved Jul 10, 2024
7438462
C++: Autoformat.
geoffw0 Jul 10, 2024
0344381
Merge remote-tracking branch 'upstream/main' into docsforautofix
geoffw0 Jul 10, 2024
f183382
Merge pull request #16884 from hvitved/ssa/dataflow-integration
hvitved Jul 10, 2024
39b5dbf
C#: Perform fewer `regexpCapture`s when matching version numbers
hvitved Jul 10, 2024
57efb84
Merge pull request #16945 from tamasvajk/feature/buildless-determinis…
tamasvajk Jul 10, 2024
4193b7e
Allow grouping import paths for models-as-data
michaelnebel Jul 3, 2024
fde7d7b
Use `packageGrouping` for Beego models
owen-mc Jul 9, 2024
1e448d5
Rename Beego MaD files using path from current version
owen-mc Jul 9, 2024
01afa36
Tests: accept model numbering changes
owen-mc Jul 9, 2024
f650e3f
Update MaD documentation explain "group:" in package column
owen-mc Jul 9, 2024
ab991af
Fix package validation errors
owen-mc Jul 9, 2024
f6b9195
Add validation of package groups
owen-mc Jul 10, 2024
3e2ebf4
Move logic for dealing with groups into a predicate
owen-mc Jul 10, 2024
b64ef84
Use `prefix()` method on string to check for group prefix
owen-mc Jul 10, 2024
32acff7
Make `groupPrefix()` private
owen-mc Jul 10, 2024
2c7fbda
Accept review suggestion for QLDoc
owen-mc Jul 10, 2024
3f789ba
C++: Support more builtin operations
jketema Jul 10, 2024
3417605
Tests: update provenance numbering
owen-mc Jul 11, 2024
0413e0e
C++: Clean up QLDoc and add change note
jketema Jul 11, 2024
48bf06f
C++: Fix `getAPrimaryQlClass`
jketema Jul 11, 2024
fd8cda3
Merge pull request #16924 from tamasvajk/feature/winforms-linux
tamasvajk Jul 11, 2024
a452ead
Merge pull request #16946 from hvitved/csharp/fewer-version-regexps
hvitved Jul 11, 2024
16b142d
SSA: Make barrier guards a parameterized module
hvitved Jul 11, 2024
ed42c3c
C++: Fix class extension
jketema Jul 11, 2024
5e0ce7e
C++: Fix test
jketema Jul 11, 2024
412ad17
Merge branch 'main' into aegilops/js/insecure-helmet-middleware
aegilops Jul 11, 2024
45b7825
Merge pull request #16925 from github/mbg/go/add-vendor-env-var
mbg Jul 11, 2024
d71be8a
Moved from `experimental` into default queries
aegilops Jul 11, 2024
87d9218
Merge pull request #16951 from jketema/builtin-op
jketema Jul 11, 2024
90641a5
Remove CI workaround for DatabaseQualityDiagnostics.ql
angelapwen Jul 11, 2024
5bdef38
Merge pull request #16941 from owen-mc/go/mad-package-alias
owen-mc Jul 11, 2024
de9370a
Merge pull request #16540 from aegilops/aegilops/js/insecure-helmet-m…
erik-krogh Jul 11, 2024
311799c
Merge pull request #16899 from igfoo/igfoo/semmle_dist
igfoo Jul 11, 2024
29df3cb
C++: Add test for C++20 implicit array sizes
calumgrant Jul 11, 2024
d5d0cf5
Java: Tag `java/non-https-url` with CWE-345
max-schaefer Jul 11, 2024
5ecde38
Python: Fix `.expected`
RasmusWL Jul 11, 2024
c6fb500
C++: Change note and autoformat
calumgrant Jul 11, 2024
0b6714e
Merge pull request #16954 from github/angelapwen/remove-ci-workaround
angelapwen Jul 11, 2024
8152ec7
Merge pull request #16696 from joefarebrother/python-cookie-write-hea…
joefarebrother Jul 11, 2024
8012f3b
C++: Increase the precision of 'cpp/iterator-to-expired-container' to…
MathiasVP Jul 11, 2024
64513fb
C++: Add change note.
MathiasVP Jul 11, 2024
f41d2a8
Merge pull request #16771 from porcupineyhairs/js2py
RasmusWL Jul 11, 2024
e5761d6
Swift: Add GA change note.
geoffw0 Jul 11, 2024
9794269
Merge pull request #16952 from hvitved/ssa/barrier-guards-param-mod
hvitved Jul 11, 2024
f5bfdbf
Swift: Fix change note file.
geoffw0 Jul 11, 2024
a2a065c
Merge pull request #16962 from geoffw0/ga-note
MathiasVP Jul 11, 2024
5c97a5f
Kotlin: Kotlin support is now out of beta, and generally available
igfoo Jul 11, 2024
bf47574
Merge branch 'main' into docsforautofix
geoffw0 Jul 11, 2024
13c25a4
C++: Move change notes to correct location
calumgrant Jul 11, 2024
24914ef
Merge pull request #16956 from github/calumgrant/cpp20-array-sizes
calumgrant Jul 11, 2024
1a2b4a3
Merge pull request #16939 from geoffw0/docsforautofix
MathiasVP Jul 11, 2024
4a1497f
Java: add IOUtils.toByteArray(InputStream) summary
Jul 11, 2024
5cf05ec
Java: add change note
Jul 11, 2024
744a1a9
Java: fix line number changes in tests
Jul 11, 2024
77a8ba9
Java: add path-injection sink for hudson.FilePath.exists()
Jul 11, 2024
ab9a6fa
Java: add change note
Jul 11, 2024
6b497da
Java: fix line number changes in tests
Jul 11, 2024
d689ab0
Revert "C#: Order files in buildless extraction"
tamasvajk Jul 12, 2024
5a41b2c
C#: Order syntax trees before creating compilation
tamasvajk Jul 12, 2024
813f08e
C++: Strip away specifiers and typedefs when finding iterator paramet…
MathiasVP Jul 12, 2024
7a2b170
C++: Accept test changes.
MathiasVP Jul 12, 2024
04f173d
SSA: Reduce caching in data-flow integration layer
hvitved Jul 11, 2024
f6627cc
Merge pull request #16969 from MathiasVP/add-missing-underlying-type
MathiasVP Jul 12, 2024
3f37fe6
Apply suggestions from code review - docs and wording
aegilops Jul 12, 2024
354394d
Python: Don't use fake locations in diagnostics
RasmusWL Jul 12, 2024
0839742
Merge pull request #16968 from tamasvajk/feature/buildless-determinis…
tamasvajk Jul 12, 2024
040f948
Added a note that SRI can be considered for some dynamic services
aegilops Jul 12, 2024
00d91dc
Created guide on customizing these queries, and referenced it in the …
aegilops Jul 12, 2024
61df4d2
Merge branch 'aegilops/polyfill-io-compromised-script' of https://git…
aegilops Jul 12, 2024
c9af53f
Merge branch 'main' into aegilops/polyfill-io-compromised-script
aegilops Jul 12, 2024
8a9f0bf
Merge pull request #16966 from hvitved/ssa/reduce-caching
hvitved Jul 12, 2024
1de2943
Merge pull request #16940 from RasmusWL/rasmuswl/BuiltinModuleExtract…
RasmusWL Jul 12, 2024
11249e7
Apply suggestions from code review - docs tweaks of CUSTOMIZING.md
aegilops Jul 12, 2024
79980a9
Added links to eventual location of CUSTOMIZING.md
aegilops Jul 12, 2024
de5ec1f
Merge branch 'main' into aegilops/polyfill-io-compromised-script
aegilops Jul 12, 2024
772344d
Merge pull request #16886 from aegilops/aegilops/polyfill-io-compromi…
sidshank Jul 12, 2024
18d9310
C++: Update tests to reflect on-demand indexing of special member fun…
sashabu Jul 12, 2024
b3b04b4
C++: Extend template member test to better test on-demand indexing of…
sashabu Jul 12, 2024
faf77d5
C++: Update special members test results.
sashabu Jul 12, 2024
5d657ba
Add changed framework coverage reports
github-actions[bot] Jul 13, 2024
8dcef82
Tweak change note
owen-mc Jul 13, 2024
b7a5252
Refactor `inAndroidApplication`
owen-mc Jul 13, 2024
9c98296
Merge pull request #16965 from jcogs33/jcogs33/add-FilePath-exists-sink
jcogs33 Jul 13, 2024
dd1d5ec
Merge pull request #16967 from github/workflow/coverage/update
owen-mc Jul 13, 2024
7fc95b8
Add changed framework coverage reports
github-actions[bot] Jul 14, 2024
3bd4a20
Convert Chi::UserControlledFunction to MaD
owen-mc Jun 21, 2024
5b38d51
Convert Chi::UserControlledMethod to MaD
owen-mc Jun 21, 2024
3fc598d
Convert EchoContextSource to MaD
owen-mc Jun 23, 2024
2ec64a9
Convert EchoContextBinder to MaD
owen-mc Jun 23, 2024
99ed3c2
Convert ElazarlGoproxy::UserControlledRequestData to MaD
owen-mc Jun 23, 2024
3efbee0
Accept provenance numbering changes
owen-mc Jul 14, 2024
cd9b364
Merge pull request #16974 from github/workflow/coverage/update
owen-mc Jul 14, 2024
8eba4a3
C#: Code quality improvement.
michaelnebel Jul 15, 2024
a951718
Merge pull request #16955 from igfoo/igfoo/kotlin-ga
igfoo Jul 15, 2024
5da3fb5
Merge pull request #16959 from MathiasVP/promote-iterator-to-expired-…
MathiasVP Jul 15, 2024
da5abc8
Dataflow: Replace MakeSets with QlBuiltins::InternSets.
aschackmull Jul 15, 2024
29e9c05
Merge branch 'main' into MathiasVP-patch-1
MathiasVP Jul 15, 2024
1c33698
Merge pull request #16502 from github/MathiasVP-patch-1
MathiasVP Jul 15, 2024
18cde3b
Merge pull request #16873 from michaelnebel/csharp/narrowsourcegenera…
michaelnebel Jul 15, 2024
cd82ada
Java: add manual models for all overloads of IOUtils.toByteArray
Jul 15, 2024
7f34dd1
Java: update change note
Jul 15, 2024
b70a4c8
Merge branch 'main' into jcogs33/add-toByteArray-summaries
jcogs33 Jul 15, 2024
391816c
C++: Add path graph to one of the external models tests.
geoffw0 Jul 15, 2024
8f6d4be
Java: update tests
Jul 15, 2024
2dc63ef
Merge pull request #16856 from owen-mc/go/mad-sources-chi-echo-elazarl
owen-mc Jul 16, 2024
eefbb67
C++: Support alert provenance.
geoffw0 Jul 11, 2024
195c20c
C++: Fix provenance for sources/sinks.
geoffw0 Jul 16, 2024
0fb27fb
Merge pull request #16979 from aschackmull/dataflow/internsets
aschackmull Jul 16, 2024
e39e765
C++: Change note.
geoffw0 Jul 16, 2024
12d6875
Java: Replace the MaD Object.clone() models with a non-aliasing value…
aschackmull Jun 25, 2024
dc64a08
Java: Update test expectations for Object.clone().
aschackmull Jun 26, 2024
938f46b
Java: Remove superfluous clone models.
aschackmull Jun 26, 2024
b2f57b4
Java: Update expected output.
aschackmull Jun 26, 2024
2bfd65f
Java: update expected output
aschackmull Jun 26, 2024
37d7824
Java: Update provenance ids.
aschackmull Jul 16, 2024
7bfa4c1
Convert GoRestfulSource to MaD
owen-mc Jul 11, 2024
06a2a40
Convert GoRestfulReadEntitySource to MaD
owen-mc Jul 11, 2024
ef833de
Convert GithubComGinGonicGinContextSource to MaD
owen-mc Jul 11, 2024
061c187
Convert GithubComGinGonicGinContextBindSource to MaD
owen-mc Jul 11, 2024
b3744ef
Sort Gin source models
owen-mc Jul 11, 2024
124567c
Convert Mux::RequestVars to MaD
owen-mc Jul 11, 2024
e469534
Go/Bazel: use gazelle `go_deps` instead of a vendor directory
Jul 16, 2024
cafb118
Tests: Accept model numbering changes
owen-mc Jul 16, 2024
ca06589
Make comments clearer
owen-mc Jul 16, 2024
0d0b69e
Merge pull request #16835 from aschackmull/java/proper-clone-model
aschackmull Jul 16, 2024
db6cd18
Accept suggested QLDoc fix
owen-mc Jul 16, 2024
f5ec231
C++: Add a FP from DCA.
MathiasVP Jul 16, 2024
575fbd2
C++: Prepatory simplification.
MathiasVP Jul 16, 2024
d539ce0
C++: Use GVN for base case.
MathiasVP Jul 16, 2024
68e3be1
C++: Accept test changes.
MathiasVP Jul 16, 2024
983acf2
C++: Add more FPs.
MathiasVP Jul 16, 2024
3d88f08
C++: Include more expressions in the base case.
MathiasVP Jul 16, 2024
510bfb9
C++: Accept test changes.
MathiasVP Jul 16, 2024
4e916de
C++: Add change note.
MathiasVP Jul 16, 2024
f293b77
Merge pull request #16972 from github/sashabu/templates
sashabu Jul 16, 2024
777cc35
Kotlin: Support 2.0.20
igfoo Jun 19, 2024
eb0bcdd
Kotlin: Add 2.0.20-Beta1 deps
igfoo Jun 20, 2024
64ebfc6
Kotlin: Add 2.0.20-Beta1
igfoo Jun 20, 2024
adaeb01
Kotlin: Update deps to 2.0.20-Beta2
igfoo Jul 11, 2024
06cc74f
Kotlin: Switch from 2.0.20-Beta1 to -Beta2
igfoo Jul 11, 2024
91dd99d
Kotlin: Fixes for 2.0.20-Beta2
igfoo Jul 11, 2024
a73170d
Merge branch 'main' into jcogs33/add-toByteArray-summaries
jcogs33 Jul 16, 2024
0793c58
Merge pull request #16963 from owen-mc/go/mad-sources/go-restful-gin-mux
owen-mc Jul 16, 2024
8647f69
Change string prefix check
owen-mc Jul 16, 2024
950d70f
C++: Replace 'InitializeGroup' with 'UninitializedGroup'.
MathiasVP Jul 16, 2024
8894fba
C++: Sync identical files.
MathiasVP Jul 16, 2024
9504e0f
C++: Accept test changes.
MathiasVP Jul 16, 2024
bf4a202
Merge pull request #16932 from igfoo/igfoo/kotlin-2.0.20
igfoo Jul 16, 2024
2da1de7
Use `packageGrouping` in Revel models
owen-mc Jul 14, 2024
034f2d4
Convert Revel field read sources to MaD
owen-mc Jul 14, 2024
873fd66
Convert Revel::UserControlledRequestMethod sources to MaD
owen-mc Jul 14, 2024
535b4ea
Convert net/http UserControlledRequestField sources to MaD
owen-mc Jul 14, 2024
f90df85
Java: update provenance numbers in tests again
Jul 16, 2024
083b9b7
C++: Delete redundant conjuncts.
MathiasVP Jul 16, 2024
dbe0fce
C++: Sync identical files.
MathiasVP Jul 16, 2024
fc6b17a
Test: accept model numbers changing
owen-mc Jul 16, 2024
e2356d9
Merge pull request #16914 from owen-mc/java/android-app-detection
owen-mc Jul 16, 2024
39f0288
Merge pull request #16964 from jcogs33/jcogs33/add-toByteArray-summaries
jcogs33 Jul 16, 2024
12fe998
Merge pull request #16986 from owen-mc/go/mad-sources-revel-nethttp
owen-mc Jul 16, 2024
e6c7e1a
Merge pull request #16990 from owen-mc/go/change-string-prefix-check
owen-mc Jul 17, 2024
8a5a941
Add frameworks to frameworks.csv
owen-mc Jul 17, 2024
aa0749e
Use package grouping for go-jose/jwt models
owen-mc Jul 16, 2024
4b2075b
Split models for separate protobuf packages into separate files
owen-mc Jul 16, 2024
4c3220e
Use package grouping in models for gocb
owen-mc Jul 16, 2024
f67026f
Accept model numbering changes in tests
owen-mc Jul 17, 2024
238c6cc
Merge pull request #17003 from owen-mc/go/update-library-coverage-fra…
owen-mc Jul 17, 2024
dc32806
Merge pull request #16988 from MathiasVP/unsigned-difference-compares…
MathiasVP Jul 17, 2024
a8a4a20
Merge pull request #16992 from owen-mc/go/mad/use-package-grouping
owen-mc Jul 17, 2024
f339274
Adapt test to work better for MaD
owen-mc Jul 17, 2024
5a00b5e
Convert Fasthttp::URI::RemoteFlowSource to MaD
owen-mc Jun 23, 2024
c3169d2
Convert Fasthttp::Args::RemoteFlowSource to MaD
owen-mc Jun 23, 2024
729069e
Convert Fasthttp::Request::RemoteFlowSource to MaD
owen-mc Jun 23, 2024
abeca3d
Convert Fasthttp::RequestCtx::RemoteFlowSource to MaD
owen-mc Jun 23, 2024
cfdd487
Convert Fasthttp::RequestHeader::RemoteFlowSource to MaD
owen-mc Jun 23, 2024
6b52cd4
Do not use "request" threat model kind
owen-mc Jul 17, 2024
d109b1e
Accept model numbering changes in tests
owen-mc Jul 17, 2024
bf69c76
Merge pull request #16987 from github/redsun82/go
redsun82 Jul 17, 2024
3641dfe
Bump the extractor-dependencies group across 1 directory with 2 updates
dependabot[bot] Jul 17, 2024
784a073
Merge pull request #16916 from github/dependabot/go_modules/go/extrac…
mbg Jul 17, 2024
d5ccb2e
C++: Add a large QLDoc with example to 'getInstructionSuccessor'.
MathiasVP Jul 17, 2024
8a3a3fa
C++: Sync identical files.
MathiasVP Jul 17, 2024
7029de5
Swift: Attempt to speed up evaluation of the private information rege…
geoffw0 Jul 17, 2024
45ba0c3
Merge pull request #16907 from MathiasVP/phi-escape-5
MathiasVP Jul 17, 2024
98319be
Merge pull request #16985 from geoffw0/madprov
geoffw0 Jul 17, 2024
433137a
Merge pull request #16960 from owen-mc/go/mad-sources-fasthttp
owen-mc Jul 17, 2024
ca42eac
Add changed framework coverage reports
github-actions[bot] Jul 18, 2024
a9bf17e
Merge pull request #17000 from github/workflow/coverage/update
owen-mc Jul 18, 2024
8bc8832
Minor improvement to jsoniter test
owen-mc Jul 18, 2024
1e4aadf
Trivial: improve variable name
owen-mc Jul 18, 2024
0a2ed83
Add test for websocket remote flow sources
owen-mc Jul 18, 2024
afb6e41
pkg.bzl: Disable remote caching of zipmerge steps.
criemen Jul 18, 2024
e6c1ff5
Merge branch 'main' into max-schaefer-patch-1
owen-mc Jul 18, 2024
fc17b90
Convert WebSocketReaderAsSource to MaD
owen-mc Jul 18, 2024
1abe0d0
Add test for autobuild with maven-enforcer
Jul 18, 2024
cb0589d
Tests: accept model numbering changes
owen-mc Jul 18, 2024
a717c30
Merge pull request #16958 from github/max-schaefer-patch-1
owen-mc Jul 18, 2024
c1853e0
Merge pull request #17013 from smowton/smowton/admin/maven-enforcer-test
smowton Jul 18, 2024
8fa575d
Merge pull request #17010 from github/criemen/disable-remote-cache-zi…
criemen Jul 18, 2024
3badd61
Integration tests: port to pytest.
criemen Jul 18, 2024
3a9ff64
Go: Output stdout/stderr for `go version` if something goes wrong
mbg Jul 18, 2024
9a72914
Merge pull request #17016 from github/mbg/go/log-output-for-go-version
mbg Jul 18, 2024
4d943f8
Merge branch 'main' into criemen/pytest-js
criemen Jul 18, 2024
620582f
Address review.
criemen Jul 19, 2024
24261b2
Merge pull request #17012 from owen-mc/go/mad/convert-sources-websockets
owen-mc Jul 19, 2024
a63e70d
Merge pull request #17015 from github/criemen/pytest-js
criemen Jul 19, 2024
68a2166
Merge branch 'main' into swiftssn
geoffw0 Jul 19, 2024
1ca0de9
Swift: Autoformat.
geoffw0 Jul 19, 2024
183b3fe
Merge pull request #16570 from geoffw0/swiftssn
geoffw0 Jul 19, 2024
f83b70d
Add changed framework coverage reports
github-actions[bot] Jul 20, 2024
38aac1f
Merge pull request #17024 from github/workflow/coverage/update
owen-mc Jul 20, 2024
55935fc
Release preparation for version 2.18.1
invalid-email-address Jul 22, 2024
cda4339
Minor changelog improvements
cklin Jul 22, 2024
81ab202
Merge pull request #17032 from github/release-prep/2.18.1
cklin Jul 22, 2024
23320b6
Revert "Release preparation for version 2.18.1"
cklin Jul 22, 2024
09f5e19
Merge pull request #17039 from github/revert-17032-release-prep/2.18.1
cklin Jul 22, 2024
368bcb6
Release preparation for version 2.18.1
invalid-email-address Jul 22, 2024
a5fe3f4
Minor changelog improvements
cklin Jul 22, 2024
54ac180
Merge pull request #17040 from github/release-prep/2.18.1
cklin Jul 22, 2024
db6fb7b
2.18.1 merge
Jul 31, 2024
73ee8ef
2.18.1 merge conflict
Jul 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .github/workflows/compile-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
key: all-queries
- name: check formatting
run: find shared */ql -type f \( -name "*.qll" -o -name "*.ql" \) -print0 | xargs -0 -n 3000 -P 10 codeql query format -q --check-only
- name: Omit DatabaseQualityDiagnostics.ql from compile checking # Remove me once CodeQL 2.18.0 is released!
run: mv java/ql/src/Telemetry/DatabaseQualityDiagnostics.ql{,.hidden}
- name: compile queries - check-only
# run with --check-only if running in a PR (github.sha != main)
if : ${{ github.event_name == 'pull_request' }}
Expand All @@ -41,6 +39,3 @@ jobs:
if : ${{ github.event_name != 'pull_request' }}
shell: bash
run: codeql query compile -q -j0 */ql/{src,examples} --keep-going --warnings=error --compilation-cache "${{ steps.query-cache.outputs.cache-dir }}" --compilation-cache-size=500
- name: Restore DatabaseQualityDiagnostics.ql after compile checking # Remove me once CodeQL 2.18.0 is released
run: mv java/ql/src/Telemetry/DatabaseQualityDiagnostics.ql{.hidden,}

7 changes: 7 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ use_repo(
"kotlin-compiler-1.9.0-Beta",
"kotlin-compiler-1.9.20-Beta",
"kotlin-compiler-2.0.0-RC1",
"kotlin-compiler-2.0.20-Beta2",
"kotlin-compiler-embeddable-1.5.0",
"kotlin-compiler-embeddable-1.5.10",
"kotlin-compiler-embeddable-1.5.20",
Expand All @@ -124,6 +125,7 @@ use_repo(
"kotlin-compiler-embeddable-1.9.0-Beta",
"kotlin-compiler-embeddable-1.9.20-Beta",
"kotlin-compiler-embeddable-2.0.0-RC1",
"kotlin-compiler-embeddable-2.0.20-Beta2",
"kotlin-stdlib-1.5.0",
"kotlin-stdlib-1.5.10",
"kotlin-stdlib-1.5.20",
Expand All @@ -136,11 +138,16 @@ use_repo(
"kotlin-stdlib-1.9.0-Beta",
"kotlin-stdlib-1.9.20-Beta",
"kotlin-stdlib-2.0.0-RC1",
"kotlin-stdlib-2.0.20-Beta2",
)

go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.22.2")

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//go/extractor:go.mod")
use_repo(go_deps, "org_golang_x_mod", "org_golang_x_tools")

lfs_files = use_repo_rule("//misc/bazel:lfs.bzl", "lfs_files")

lfs_files(
Expand Down
17 changes: 17 additions & 0 deletions cpp/downgrades/3d35dd6b50edfc540c14c6757e0c7b3c5b7b04dd/exprs.ql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
class Expr extends @expr {
string toString() { none() }
}

class Location extends @location_expr {
string toString() { none() }
}

predicate isExprWithNewBuiltin(Expr expr) {
exists(int kind | exprs(expr, kind, _) | 364 <= kind and kind <= 384)
}

from Expr expr, int kind, int kind_new, Location location
where
exprs(expr, kind, location) and
if isExprWithNewBuiltin(expr) then kind_new = 1 else kind_new = kind
select expr, kind_new, location
Loading
Loading