Skip to content

Manual merge upstream #251

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

Merged
merged 1,122 commits into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1122 commits
Select commit Hold shift + click to select a range
85c2f72
Java: convert InsecureRandomness test to .qlref
d10c Jun 23, 2025
2869427
Java: convert MissingJWTSignatureCheck test to .qlref
d10c Jun 23, 2025
2b19cbc
Java: convert UnsafeContentUriResolution test to .qlref
d10c Jun 23, 2025
192f45e
Java: convert FragmentInjection test to .qlref
d10c Jun 23, 2025
c4b0955
Java: convert WebviewDebuggingEnabled test to .qlref
d10c Jun 23, 2025
4412335
Java: convert UnsafeDeserialization test to .qlref
d10c Jun 23, 2025
bf1a699
Java: convert CWE-522 tests to .qlref
d10c Jun 23, 2025
7f33f57
Java: convert UrlForward test to .qlref
d10c Jun 23, 2025
162b1c5
Java: convert XXE test to .qlref
d10c Jun 23, 2025
f5c7ef6
Java: convert XPathInjection test to .qlref
d10c Jun 23, 2025
b7e47e2
Java: convert PolynomialReDoS and RegexInjection tests to .qlref
d10c Jun 23, 2025
cadfd0d
Java: convert RsaWithoutOaep test to .qlref
d10c Jun 24, 2025
7f05b72
Java: convert OgnlInjection test to .qlref
d10c Jun 24, 2025
aac4f63
Java: convert RequestForgery test to .qlref
d10c Jun 24, 2025
e0311e2
Java: convert ImproperIntentVerification test to .qlref
d10c Jun 24, 2025
e213e3f
Java: convert ImplicitPendingIntents test to .qlref
d10c Jun 24, 2025
b2cb585
UnsafeDeserialization: add missing `getASelectedSinkLocation` override
d10c Jun 24, 2025
a49999d
PolynomialReDoS: disable diff-informed support
d10c Jun 24, 2025
8f249c7
C++: Support more complex 16-bit float types
jketema Jun 24, 2025
5656278
pick-kotlin-version.py: tolerate warnings
cklin Jun 24, 2025
9a83005
Merge pull request #19862 from jketema/complex
jketema Jun 24, 2025
1dcd605
Codegen: improve implementation of generated parent/child relationship
redsun82 Jun 24, 2025
6904461
Java: add CleartextStorageCookie test
d10c Jun 24, 2025
a79e3cf
QLDoc scripts: Fix overly permissive regex ranges
adityasharad Jun 24, 2025
1c567b9
Merge pull request #19867 from adityasharad/qldoc/opcode-script-regex
adityasharad Jun 24, 2025
b8f8501
Merge pull request #1 from geoffw0/sql
ebickle Jun 24, 2025
9a064de
Merge pull request #19865 from github/cklin/pick-kotlin-version
cklin Jun 24, 2025
bd0efbe
Crypto: Overhaul of EVP final/init/update to now use a more general '…
bdrodes Jun 24, 2025
fff2304
C++: Update test results
jketema Mar 27, 2024
ddae471
Merge pull request #16075 from jketema/explicit
jketema Jun 25, 2025
853fc1a
Merge pull request #19852 from asgerf/js/react-use-server
asgerf Jun 25, 2025
d39b68c
Merge pull request #19849 from asgerf/js/remove-legacy-actions-queries
asgerf Jun 25, 2025
2f1cd38
C++: Update stats file after DCA and extractor changes
jketema Jun 25, 2025
73126fe
JS: update change note.
Napalys Jun 25, 2025
869ba0d
Use regex to match overlay annotations
kaspersv Jun 25, 2025
7186ea5
Merge pull request #19871 from github/kaspersv/overlay-script-re
kaspersv Jun 25, 2025
792ea10
Merge branch 'redsun82/codegen-new-parent-child' into redsun82/rust-e…
redsun82 Jun 25, 2025
46ac2fd
Add CI workflow to check overlay annotations
kaspersv Jun 13, 2025
bcca47c
Rust: make `AssocItem` and `ExternItem` subclasses of `Item`
redsun82 Jun 25, 2025
3d9e2f5
Merge pull request #19858 from Napalys/js/execa
Napalys Jun 25, 2025
6bbf1e3
Codegen: use one generated test file per directory
redsun82 Jun 25, 2025
c6ff07a
Merge branch 'main' into nickrolfe/ruby-overlay-extraction
nickrolfe Jun 25, 2025
99eaaaa
Rust: fix QL compilation error
redsun82 Jun 25, 2025
355fd85
Codegen: remove unneeded `has|getNumberOf` in instance tests
redsun82 Jun 25, 2025
1bbba2f
Merge pull request #19684 from github/nickrolfe/ruby-overlay-extraction
nickrolfe Jun 25, 2025
a9ddf00
Ruby: generate overlay discard predicates
nickrolfe Jun 6, 2025
92a1b89
C#: Add Microsoft.Data.SqlClient to the list of stubs.
michaelnebel Jun 25, 2025
1e68a7e
Merge pull request #19719 from github/nickrolfe/ruby-discard-predicates
nickrolfe Jun 25, 2025
1f66f90
Rust: fix parallel execution of tests using the nightly toolchain
redsun82 Jun 25, 2025
fa006e3
Rust: fix test
redsun82 Jun 25, 2025
b8b5736
Merge pull request #19876 from github/redsun82/rust-qltest-setup-nigh…
redsun82 Jun 25, 2025
ab2e708
Merge branch 'main' into redsun82/codegen-use-one-test-file
redsun82 Jun 25, 2025
5d3bdb9
Merge branch 'main' into redsun82/rust-item-reorg
redsun82 Jun 25, 2025
78ecf18
Rust: add upgrade/downgrade scripts
redsun82 Jun 25, 2025
e4056c0
Rust: add change note
redsun82 Jun 25, 2025
6a0140d
Rust: fix `Const` test
redsun82 Jun 25, 2025
af2ebed
C#: Add stubs for Microsoft.Data.SqlClient.
michaelnebel Jun 25, 2025
bb85e24
C#: Convert SQL injection test to use inline expectations.
michaelnebel Jun 25, 2025
006f0e8
Merge branch 'main' into lifetime
geoffw0 Jun 25, 2025
710e080
Crypto: Refactor casing and documentation
nicolaswill Jun 25, 2025
942cfc3
Merge pull request #19842 from d10c/d10c/convert-java-tests-to-qlref
d10c Jun 25, 2025
9021168
QL: fix stats-collection workflow
nickrolfe Jun 25, 2025
57b866b
Ruby/Rust/QL: move databaseMetadata to prefix.dbscheme
nickrolfe Jun 25, 2025
8678264
Ruby/QL: unconditionally generate discard predicates
nickrolfe Jun 25, 2025
93bad3c
Crypto: Misc bug fixes and updated expected files.
bdrodes Jun 25, 2025
072765a
Crypto: Code scanning warning corrections.
bdrodes Jun 25, 2025
9cd2241
Crypto: Remove accidentally uploaded temporary file.
bdrodes Jun 25, 2025
f9147cf
Crypto: Remove experimental qll file
bdrodes Jun 25, 2025
6803bf3
Merge pull request #19851 from github/redsun82/rust-emission-trait
redsun82 Jun 25, 2025
8280cbc
Crypto: Update JCA model to include new model.qll updates.
bdrodes Jun 25, 2025
14472bf
Crypto: Refactor type name mapping and fix QL-for-QL alerts
nicolaswill Jun 25, 2025
b809750
Update cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmInstances/Kno…
nicolaswill Jun 25, 2025
8e6031d
Crypto: Fix further acronym casing and remove unused field
nicolaswill Jun 25, 2025
ad7358a
Crypto: Deduplicate "GCM" mapping from OpenSSL modeling
nicolaswill Jun 25, 2025
98479ff
Crypto: Update queries to use new type names
nicolaswill Jun 25, 2025
6571c11
Merge branch 'main' into operation_step_refactor
nicolaswill Jun 25, 2025
7477471
Crypto: Bug fix in output model
bdrodes Jun 25, 2025
7559c06
Merge branch 'operation_step_refactor' of https://github.com/bdrodes/…
bdrodes Jun 25, 2025
a4ed5da
Rust: Add data flow tests involving traits
hvitved Jun 25, 2025
5e265b1
Rust: Trait call dispatch in dataflow
hvitved Jun 25, 2025
3e54c61
Rust: Add MaD trait tests
hvitved Jun 25, 2025
8c24039
Rust: Apply MaD trait models to implementations
hvitved Jun 25, 2025
2291e10
Fix typo
smowton Jun 25, 2025
d7b1d7b
Merge pull request #19677 from owen-mc/go/better-class-names-and-helpers
owen-mc Jun 25, 2025
0f07ab5
Merge pull request #19654 from owen-mc/go/fix-definedtype-getbasetype
owen-mc Jun 25, 2025
9663eca
Avoid using deprecated class
owen-mc Jun 26, 2025
aa65f54
Merge pull request #19882 from owen-mc/go/avoid-deprecated-class
jcogs33 Jun 26, 2025
a0c8491
Java: Add guards-logic qltest with inline expectation.
aschackmull May 1, 2025
994c1f6
Java: Add hasInputFromBlock predicate in BaseSSA.
aschackmull May 2, 2025
1d75008
Shared: Add a shared Guards library inspired by the Java and C# versi…
aschackmull May 2, 2025
14b87f9
Shared: Extend the shared Guards library with support for custom wrap…
aschackmull May 13, 2025
16c5b57
Shared: Extend the shared Guards library with support for exception b…
aschackmull May 15, 2025
c212d0a
Shared: Improve shared guards lib.
aschackmull May 20, 2025
73ae613
Shared: Many tweaks to Guards.
aschackmull May 23, 2025
f772493
Shared: Elaborate qldoc.
aschackmull May 23, 2025
b19bff9
Shared: Switch case guards to be the case statements.
aschackmull May 26, 2025
378209a
Shared: Simplify and improve joins.
aschackmull May 27, 2025
22d5dc9
Shared: Bugfix for unique value implication.
aschackmull Jun 16, 2025
a2778ee
Java: Refactor clearlyNotNullExpr into a base case that does not rely…
aschackmull May 14, 2025
0607fef
Java: Refactor integerGuard.
aschackmull May 19, 2025
cc13193
Java: Replace some references to basicNullGuard.
aschackmull May 21, 2025
5c0dcd9
Java: Switch to the shared Guards library.
aschackmull May 15, 2025
42b1b12
Java: Fix qltests
aschackmull May 27, 2025
d4c897f
Java: Fix perf issue.
aschackmull May 27, 2025
5a34a1a
Shared: Try caching.
aschackmull Jun 16, 2025
73810a6
Java: Fix perf issue.
aschackmull Jun 17, 2025
4645856
Java: document FP
aschackmull Jun 17, 2025
5ddddae
Java: Add change note.
aschackmull Jun 17, 2025
6f4adb8
Shared: address review comments.
aschackmull Jun 25, 2025
ed7f682
C#: Add cs/sql-injection tests for APIs in Microsoft.Data.SqlClient.
michaelnebel Jun 25, 2025
f3eafd3
C#: Exclude Microsoft.Data.SqlClient.SqlCommand from the best effort …
michaelnebel Jun 25, 2025
becd46a
C#: Add MaD models for Microsoft.Data.SqlClient.
michaelnebel Jun 25, 2025
cfadd30
C#: Add change-note.
michaelnebel Jun 25, 2025
4d2c678
Merge pull request #19573 from aschackmull/guardslib
aschackmull Jun 26, 2025
8a75165
Update formatting
Vasco-jofra Jun 26, 2025
9a8ef3a
Merge branch 'main' into redsun82/codegen-new-parent-child
redsun82 Jun 26, 2025
fc2b18a
Java: Diff-informed CleartextStorageCookie.ql
jbj Oct 7, 2024
1d4c819
Java: Fix assert CFG by properly tagging the false successor.
aschackmull Jun 17, 2025
b16e710
Merge pull request #19870 from jketema/jketema/stats
jketema Jun 26, 2025
f07d9dd
Guards: Refactor EqualityTest interface.
aschackmull Jun 26, 2025
326f2b0
Java: Accept qltest change showing FP removal.
aschackmull Jun 26, 2025
c091fc5
Java: Account for AssertionError possibly not being extracted.
aschackmull Jun 26, 2025
7750f12
Merge pull request #19884 from aschackmull/guards/eqtest-refactor
aschackmull Jun 26, 2025
1e0dd2a
Apply suggestion from @michaelnebel
tamasvajk Jun 26, 2025
64f27e2
Java: Add abstraction for discardable locatables
kaspersv Jun 25, 2025
1bd543a
Improve readability of the ID
tamasvajk Jun 26, 2025
321a4af
Merge pull request #19883 from aschackmull/java/fix-assert-cfg
aschackmull Jun 26, 2025
afc78ce
Merge pull request #19874 from github/redsun82/codegen-use-one-test-file
redsun82 Jun 26, 2025
de72e68
Merge branch 'main' into redsun82/codegen-new-parent-child
redsun82 Jun 26, 2025
ae36f94
Merge pull request #19844 from tamasvajk/tamasvajk/threadpoolexecutor
tamasvajk Jun 26, 2025
a5737dd
Merge branch 'main' into feature/oracle-model
jketema Jun 26, 2025
9d2dd78
Merge remote-tracking branch 'github/main' into kaspersv/overlay-java…
kaspersv Jun 26, 2025
712e64e
Overlay: Add overlay annotations to shared Guards library
kaspersv Jun 26, 2025
e0b3a2c
Java: convert ArbitraryApkInstallation test to .qlref
d10c Jun 26, 2025
89f1ee0
Ruby: add meta/TaintedNodes.ql test
d10c Jun 26, 2025
b70aa80
Rust: Cache `DataFlow::Node.{toString,getLocation}`
hvitved Jun 26, 2025
1fbf3a3
Shared: Add a copy of the security-and-quality selector.
michaelnebel Jun 26, 2025
3efbed5
Shared: Modify the frozen selector to only include security queries.
michaelnebel Jun 26, 2025
5a176d6
Merge pull request #19878 from github/nickrolfe/ql-overlay
nickrolfe Jun 26, 2025
145ada5
C#/Java/JavaScript: Re-factor query suites to use the new selector.
michaelnebel Jun 26, 2025
7fecf74
Ruby: Freeze the quality queries in the security-and-quality suite.
michaelnebel Jun 26, 2025
d926a6a
Go: Freeze the quality queries in the security-and-quality suite.
michaelnebel Jun 26, 2025
37b3ca0
Python: Freeze the quality queries in the security-and-quality suite.
michaelnebel Jun 26, 2025
652e7ba
Merge branch 'main' into codescanning_fixes_cpp
nicolaswill Jun 26, 2025
9a48459
Add change note
hvitved Jun 26, 2025
9521994
Fix format of markdown query help files
owen-mc Jun 11, 2025
9f0f40d
Add "Correct Usage" and "Incorrect Usage" headings
owen-mc Jun 26, 2025
3083bdb
C++: Update MaD line numbers in flow.expected
ebickle Jun 26, 2025
1142efb
Merge branch 'main' into feature/oracle-model
ebickle Jun 26, 2025
297cdb5
Update guide to specify a full stop at the end of each reference
owen-mc Jun 26, 2025
10bb888
Add full stop at the end of each reference
owen-mc Jun 26, 2025
2ed451c
Reformat references
owen-mc Jun 26, 2025
4799861
Merge branch 'redsun82/codegen-new-parent-child' into redsun82/rust-i…
redsun82 Jun 26, 2025
0a97357
Merge pull request #19814 from bdrodes/codescanning_fixes_cpp
nicolaswill Jun 26, 2025
ec09d36
Merge pull request #19832 from ebickle/feature/oracle-model
jketema Jun 26, 2025
c54e68c
Merge branch 'main' into pr/19880
nicolaswill Jun 26, 2025
e04821e
Python: Allow use of `match` as an identifier
tausbn Jun 26, 2025
ad53518
Python: Regenerate parser files
tausbn Jun 26, 2025
cd0e463
Python: Add change note
tausbn Jun 26, 2025
505d880
Crypto: Add key input support for the graph for key generation operat…
bdrodes Jun 26, 2025
dc8d22a
Crypto: Fix JCA to account for new key gen instance API in model.qll.
bdrodes Jun 26, 2025
0aee4f7
Crypto: Minor change to force CI/CD checks to restart, prior ql check…
bdrodes Jun 26, 2025
0996e60
C++: Pretty print MaD ids in test output
jketema Jun 26, 2025
4cbaeb1
Merge pull request #19641 from joefarebrother/python-qual-file-not-cl…
joefarebrother Jun 26, 2025
da1b99b
Merge pull request #19779 from github/kaspersv/overlay-java-annotations
kaspersv Jun 27, 2025
e6ef6a3
Merge branch 'main' into kaspersv/overlay-java-discarding
kaspersv Jun 27, 2025
f0125e5
Merge branch 'main' into kaspersv/overlay-annotations-script-ci
kaspersv Jun 27, 2025
b446fe7
Merge pull request #19846 from jbj/diff-informed-CleartextStorageCookie
jbj Jun 27, 2025
2863c70
Overlay: Add overlay annotation to shared lib
kaspersv Jun 27, 2025
db0fc7b
Merge pull request #19881 from hvitved/rust/dataflow-traits
hvitved Jun 27, 2025
c88049a
Create copilot-instructions.md
redsun82 Jun 27, 2025
f568d41
Merge pull request #19888 from d10c/d10c/missing-diff-informed-tests
d10c Jun 27, 2025
2f208bd
Merge pull request #19877 from michaelnebel/csharp/microsoftdatasqlcl…
michaelnebel Jun 27, 2025
3fb8758
Merge pull request #19886 from hvitved/rust/dataflow-caching
hvitved Jun 27, 2025
5096ce4
Overlay: Add missing overlay[caller?] annotation
kaspersv Jun 27, 2025
ad5ee1c
Merge pull request #19894 from jketema/pretty
jketema Jun 27, 2025
143a91e
Re-use the security-extended selector in the security-and-frozen-qual…
michaelnebel Jun 27, 2025
6038396
Merge pull request #19898 from kaspersv/kaspersv/shared-overlay-annot…
kaspersv Jun 27, 2025
5cddd38
Merge branch 'main' into kaspersv/overlay-annotations-script-ci
kaspersv Jun 27, 2025
976364f
Merge branch 'main' into operation_step_refactor
nicolaswill Jun 27, 2025
3e31cd3
C++: Sync the product-flow field flow branch limits with the default one
jketema Jun 27, 2025
122a004
Update cpp/ql/lib/experimental/quantum/OpenSSL/AlgorithmInstances/MAC…
bdrodes Jun 27, 2025
9f0c62b
Crypto: Address PR comments.
bdrodes Jun 27, 2025
b4caba7
C++: Merge the location tables
jketema Sep 25, 2024
7f47e31
C++: Add upgrade and downgrade scripts
jketema Jun 26, 2025
bf131dc
C++: Update stats file
jketema Jun 26, 2025
99a24f9
C++: Fix macro handling after extractor changes
jketema Jun 27, 2025
89c91cc
C++: Add change note
jketema Jun 27, 2025
e02affd
Merge pull request #19901 from github/kaspersv/overlay-guards-inline
kaspersv Jun 27, 2025
38fdf7e
Merge pull request #19880 from bdrodes/operation_step_refactor
nicolaswill Jun 27, 2025
809d1d5
remove cases involving sizeof
mrigankpawagi Jun 28, 2025
81ec3b6
Add changed framework coverage reports
github-actions[bot] Jun 30, 2025
7a2023b
Java: move original files
Apr 1, 2025
e266918
Java: add previous-id
Apr 3, 2025
1172f82
Java: update existing tests to inline expectations
Apr 4, 2025
12e7bbb
Java: update existing tests to services tests
Apr 4, 2025
87ab4d0
Java: remove java/run-method-called-on-java-lang-thread-directly
Apr 4, 2025
4290411
Java: add qhelp references
Jun 30, 2025
5b09ecd
Merge pull request #19780 from github/kaspersv/overlay-annotations-sc…
kaspersv Jun 30, 2025
a74f60b
Merge pull request #19910 from github/workflow/coverage/update
michaelnebel Jun 30, 2025
c7194a4
Overlay: Add missing QLDoc
kaspersv Jun 30, 2025
e3a61f5
Merge pull request #19899 from github/redsun82/copilot-instructions
redsun82 Jun 30, 2025
632cde6
Merge pull request #19702 from geoffw0/lifetime
hvitved Jun 30, 2025
9cf037f
Merge branch 'main' into redsun82/codegen-new-parent-child
redsun82 Jun 30, 2025
57661df
Rust: Fix variable capture inconsistencies
hvitved Jun 30, 2025
6ae1656
Merge pull request #17581 from jketema/loc-table-merge
jketema Jun 30, 2025
3247bab
Merge pull request #19762 from trailofbits/VF/type-orm-model-improvem…
asgerf Jun 30, 2025
7c38c48
Merge pull request #19769 from trailofbits/VF/Nest-improvements
asgerf Jun 30, 2025
3d73432
Merge pull request #19813 from github/kaspersv/overlay-java-discarding
kaspersv Jun 30, 2025
23b9db8
Merge pull request #19904 from jketema/ffbl
jketema Jun 30, 2025
41a403c
Ruby: Do not compute `StringlikeLiteralImpl.getStringValue` for large…
hvitved Jun 30, 2025
97412f4
Merge pull request #19916 from hvitved/rust/fix-capture-inconsistencies
hvitved Jun 30, 2025
15aa0bb
Merge pull request #19866 from github/redsun82/codegen-new-parent-child
redsun82 Jun 30, 2025
9e4cdbc
Merge branch 'main' into redsun82/rust-item-reorg
redsun82 Jun 30, 2025
617edf0
C++: synchronize dbscheme
jketema Jun 30, 2025
3a3c222
C++: Add upgrade and downgrade scripts
jketema Jun 30, 2025
de09122
Merge pull request #19175 from jcogs33/jcogs33/java/call-to-thread-run
jcogs33 Jun 30, 2025
e7959df
Rust: recreate wrongfully deleted upgrade script directory
redsun82 Jun 30, 2025
184dd5b
Merge pull request #19895 from github/tausbn/python-fix-match-as-iden…
tausbn Jun 30, 2025
6a291cc
C++: fix `(no string representation)` for `ConstructorInit`
IdrissRio Jun 27, 2025
62e55ed
C++: accept new test results after changes
IdrissRio Jun 27, 2025
44523ae
C++: Add Arm64 change note
jketema Jun 30, 2025
cf60b62
fix formatting
mrigankpawagi Jun 30, 2025
1772193
Merge pull request #19933 from jketema/arm-change
jketema Jun 30, 2025
98798b6
C++: Update stats file
jketema Jun 30, 2025
d5c7905
Merge pull request #19907 from github/idrissrio/no-string-representation
jketema Jul 1, 2025
2ee3401
Merge pull request #19873 from github/redsun82/rust-item-reorg
hvitved Jul 1, 2025
233b54c
Merge pull request #19891 from michaelnebel/michaelnebel/freezemoresu…
michaelnebel Jul 1, 2025
a791640
Merge pull request #19935 from jketema/sync-dbscheme-cpp
jketema Jul 1, 2025
7779f14
C++: Remove unused external_package tables from the dbscheme
jketema Jul 1, 2025
e5f0ef6
Rust: Add more type inference tests
hvitved Jun 25, 2025
e88d7ba
Rust: Apply inherent method prioritization inside type inference loop
hvitved Jun 27, 2025
8ac69b9
C++: Add upgrade and downgrade scripts
jketema Jul 1, 2025
bd1f46b
Rust: Assume prelude is always available in path resolution
hvitved Jul 1, 2025
f3c5870
C++: Update stats file
jketema Jul 1, 2025
0723391
Rust: Update expected test output
hvitved Jul 1, 2025
c08d98d
Rust: add to querylist and shared code metrics scripts
aibaars Jul 1, 2025
219a622
Merge pull request #19926 from hvitved/ruby/restrict-string-component…
hvitved Jul 1, 2025
811ed3c
Merge pull request #19892 from owen-mc/fix-markdown-query-help-format…
owen-mc Jul 1, 2025
d6b051e
Merge pull request #19936 from hvitved/rust/path-resolution-prelude-a…
hvitved Jul 1, 2025
b813010
Merge pull request #19903 from hvitved/rust/type-inference-overlap2
hvitved Jul 1, 2025
b821b21
Create 2025-07-01-global-vars-ubi-query-fixes.md.md
mrigankpawagi Jul 1, 2025
02e5541
Merge branch 'main' into patch-1
jketema Jul 1, 2025
4c6c395
Merge pull request #19939 from github/aibaars/rust-workflows
aibaars Jul 1, 2025
fe24cc8
Merge branch 'main' into patch-1
mrigankpawagi Jul 1, 2025
7c2fd28
Merge pull request #19938 from jketema/external
jketema Jul 1, 2025
19d6f66
Merge pull request #19676 from mrigankpawagi/patch-1
jketema Jul 1, 2025
4122283
Manual merge
ropwareJB Jul 1, 2025
81f9e88
run add-overlay-annotations.py
ropwareJB Jul 10, 2025
87e0b08
Merge branch 'main' into jb1/upstream-zipslip
ropwareJB Jul 10, 2025
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
4 changes: 4 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
When reviewing code:
* do not review changes in files with `.expected` extension (they are automatically ensured to be correct).
* in `.ql` and `.qll` files, do not try to review the code itself as you don't understand the programming language
well enough to make comments in these languages. You can still check for typos or comment improvements.
1 change: 0 additions & 1 deletion .github/workflows/check-change-note.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
- "shared/**/*.qll"
- "!**/experimental/**"
- "!ql/**"
- "!rust/**"
- ".github/workflows/check-change-note.yml"

jobs:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/check-overlay-annotations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check overlay annotations

on:
push:
branches:
- main
- 'rc/*'
pull_request:
branches:
- main
- 'rc/*'

permissions:
contents: read

jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check overlay annotations
run: python config/add-overlay-annotations.py --check java

34 changes: 0 additions & 34 deletions .github/workflows/codegen.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/python-tooling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Python tooling

on:
pull_request:
paths:
- "misc/bazel/**"
- "misc/codegen/**"
- "misc/scripts/models-as-data/bulk_generate_mad.py"
- "*.bazel*"
- .github/workflows/codegen.yml
- .pre-commit-config.yaml
branches:
- main
- rc/*
- codeql-cli-*

permissions:
contents: read

jobs:
check-python-tooling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507
name: Check that python code is properly formatted
with:
extra_args: black --all-files
- name: Run codegen tests
shell: bash
run: |
bazel test //misc/codegen/...
2 changes: 1 addition & 1 deletion .github/workflows/ql-for-ql-dataset_measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Create database
run: |
"${CODEQL}" database create \
--search-path "${{ github.workspace }}"
--search-path "${{ github.workspace }}" \
--threads 4 \
--language ql --source-root "${{ github.workspace }}/repo" \
"${{ runner.temp }}/database"
Expand Down
12 changes: 7 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.12
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
exclude: /test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
- id: end-of-file-fixer
exclude: /test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$
exclude: Cargo.lock$|/test/.*$(?<!\.qlref)|.*\.patch$|.*\.qll?$

- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v17.0.6
hooks:
- id: clang-format

- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.0.4
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: autopep8
files: ^misc/codegen/.*\.py
- id: black
files: ^(misc/codegen/.*|misc/scripts/models-as-data/.*)\.py$

- repo: local
hooks:
Expand Down
Loading
Loading