[krishnprakash/codeql] 42aaae: C#: Add test case for property calls and update te...

0 views
Skip to first unread message

Phileco

unread,
May 28, 2026, 7:56:09 AM (10 days ago) May 28
to philecodi...@googlegroups.com
Branch: refs/heads/main
Home: https://github.com/krishnprakash/codeql
Commit: 42aaae7cf3ff429d2ae47691d2c324e2c2984da1
https://github.com/krishnprakash/codeql/commit/42aaae7cf3ff429d2ae47691d2c324e2c2984da1
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
M csharp/ql/test/library-tests/properties/PrintAst.expected
M csharp/ql/test/library-tests/properties/Properties17.expected
A csharp/ql/test/library-tests/properties/Properties19.expected
A csharp/ql/test/library-tests/properties/Properties19.ql
M csharp/ql/test/library-tests/properties/properties.cs

Log Message:
-----------
C#: Add test case for property calls and update test expected for other files.


Commit: a2ac0ab7d559fe724895329ab7e49a046e4877e2
https://github.com/krishnprakash/codeql/commit/a2ac0ab7d559fe724895329ab7e49a046e4877e2
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
A csharp/ql/test/library-tests/indexers/Indexers13.expected
A csharp/ql/test/library-tests/indexers/Indexers13.ql
M csharp/ql/test/library-tests/indexers/PrintAst.expected
M csharp/ql/test/library-tests/indexers/indexers.cs

Log Message:
-----------
C#: Add test case for indexer calls and update test expected for other files.


Commit: 9d0d4e4912f9b5e31fa4280b2692f1eb8e5487de
https://github.com/krishnprakash/codeql/commit/9d0d4e4912f9b5e31fa4280b2692f1eb8e5487de
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
M csharp/extractor/Semmle.Extraction.CSharp/Entities/Accessor.cs

Log Message:
-----------
C#: Add ref return info for accessors.


Commit: c3bb5e8effe92d883310e2985d71e5ab35a45ce2
https://github.com/krishnprakash/codeql/commit/c3bb5e8effe92d883310e2985d71e5ab35a45ce2
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
M csharp/ql/lib/semmle/code/csharp/exprs/Call.qll

Log Message:
-----------
C#: Use ref return getters for properties/indexers in write contexts.


Commit: 1c01bb32d9ffcdae69f8be7281a4050eaf7092cc
https://github.com/krishnprakash/codeql/commit/1c01bb32d9ffcdae69f8be7281a4050eaf7092cc
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
M csharp/ql/test/library-tests/indexers/Indexers13.expected
M csharp/ql/test/library-tests/properties/Properties19.expected

Log Message:
-----------
C#: Update test expected output.


Commit: c0273ae94fc0bffa765f7e253c49c0b8323099a0
https://github.com/krishnprakash/codeql/commit/c0273ae94fc0bffa765f7e253c49c0b8323099a0
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
M csharp/ql/test/library-tests/csharp8/NullableRefTypes.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/IsNotOkayCall.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/NoTarget.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/Quality.cs

Log Message:
-----------
C#: Update other affected tests (including database quality).


Commit: 6825ccc74f9fe5b06eaf8402062cd5adc195e4dc
https://github.com/krishnprakash/codeql/commit/6825ccc74f9fe5b06eaf8402062cd5adc195e4dc
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-19 (Tue, 19 May 2026)

Changed paths:
A csharp/ql/lib/change-notes/2026-05-19-properties-indexers-refreturn.md

Log Message:
-----------
C#: Add change-note.


Commit: 26da373bd46bc03c80c10ea294613936f93f02ee
https://github.com/krishnprakash/codeql/commit/26da373bd46bc03c80c10ea294613936f93f02ee
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-26 (Tue, 26 May 2026)

Changed paths:
M csharp/paket.dependencies

Log Message:
-----------
C#: Update Roslyn and other pinned dependencies.


Commit: 769b1957a56dc843059766952fdbd7ddafbc1f89
https://github.com/krishnprakash/codeql/commit/769b1957a56dc843059766952fdbd7ddafbc1f89
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-26 (Tue, 26 May 2026)

Changed paths:
M csharp/paket.lock
M csharp/paket.main.bzl

Log Message:
-----------
C#: Update generated files.


Commit: 7f2fb2eb99540575d3808188ce4f4e9cea295661
https://github.com/krishnprakash/codeql/commit/7f2fb2eb99540575d3808188ce4f4e9cea295661
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-26 (Tue, 26 May 2026)

Changed paths:
M csharp/extractor/Semmle.Extraction.CSharp/CodeAnalysisExtensions/SymbolExtensions.cs

Log Message:
-----------
C#: Use the generic version of the associated implementation.


Commit: b44bca9ea72456d4883e349d728ba96c6360a3cd
https://github.com/krishnprakash/codeql/commit/b44bca9ea72456d4883e349d728ba96c6360a3cd
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Add HashFunction protocol and other realism to the CryptoKit test stubs (this is needed for new cases to work as intended).


Commit: d9c0b9ca31a73e76916820078d45f85e007ce969
https://github.com/krishnprakash/codeql/commit/d9c0b9ca31a73e76916820078d45f85e007ce969
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Additional test cases for CryptoKit.


Commit: 98b7659cc175f973b06cdf64555081179f79b1b8
https://github.com/krishnprakash/codeql/commit/98b7659cc175f973b06cdf64555081179f79b1b8
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Add a special case sink for weak sensitive data hashing sinks that are calls through a metatype.


Commit: 2b4ea18dfe2118141c000a17bd4cba251c85ffc7
https://github.com/krishnprakash/codeql/commit/2b4ea18dfe2118141c000a17bd4cba251c85ffc7
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Add a similar sink for password hashing as well.


Commit: c902c756512de679885099a09503d526addc3163
https://github.com/krishnprakash/codeql/commit/c902c756512de679885099a09503d526addc3163
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
A swift/ql/src/change-notes/2026-05-26-hashing-sinks.md

Log Message:
-----------
Swift: Add change note.


Commit: 94e6ec65115bca82d9263ac90d7f474d9d848f99
https://github.com/krishnprakash/codeql/commit/94e6ec65115bca82d9263ac90d7f474d9d848f99
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Widen the new sinks to cover more cases the MaD sinks are missing.


Commit: c6c3e1474cb37291e66b1bee431086fda805ffcd
https://github.com/krishnprakash/codeql/commit/c6c3e1474cb37291e66b1bee431086fda805ffcd
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Add a few more test cases for simple missing models.


Commit: f962eac9145e345a34b8064a6a4ce16fd093d53a
https://github.com/krishnprakash/codeql/commit/f962eac9145e345a34b8064a6a4ce16fd093d53a
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Swift: Fill the simple gaps in modelling.


Commit: 6b55f865cdf234f8e6733434cc5fb70f5d8addf5
https://github.com/krishnprakash/codeql/commit/6b55f865cdf234f8e6733434cc5fb70f5d8addf5
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M csharp/ql/integration-tests/posix/standalone_dependencies_executing_runtime/Assemblies.expected

Log Message:
-----------
C#: Update integration test expected output.


Commit: d4c7b5b6feb26d055025790e53747c602258e2dd
https://github.com/krishnprakash/codeql/commit/d4c7b5b6feb26d055025790e53747c602258e2dd
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M csharp/ql/test/library-tests/encoding/SBCS.cs

Log Message:
-----------
C#: Update encoding of SBCS to UTF8 with BOM.


Commit: 4fbea4ef95653911231071a846e41958a0d67579
https://github.com/krishnprakash/codeql/commit/4fbea4ef95653911231071a846e41958a0d67579
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll

Log Message:
-----------
Swift: Autoformat.


Commit: 5c2488e304766991c11044e4564d12413feb71db
https://github.com/krishnprakash/codeql/commit/5c2488e304766991c11044e4564d12413feb71db
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-27 (Wed, 27 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll

Log Message:
-----------
Swift: Fix typo.


Commit: ed8b9c29ccc8c2df2890264210fa8ee7bbe83b3b
https://github.com/krishnprakash/codeql/commit/ed8b9c29ccc8c2df2890264210fa8ee7bbe83b3b
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M csharp/extractor/Semmle.Extraction.CSharp/Entities/Accessor.cs
A csharp/ql/lib/change-notes/2026-05-19-properties-indexers-refreturn.md
M csharp/ql/lib/semmle/code/csharp/exprs/Call.qll
M csharp/ql/test/library-tests/csharp8/NullableRefTypes.expected
A csharp/ql/test/library-tests/indexers/Indexers13.expected
A csharp/ql/test/library-tests/indexers/Indexers13.ql
M csharp/ql/test/library-tests/indexers/PrintAst.expected
M csharp/ql/test/library-tests/indexers/indexers.cs
M csharp/ql/test/library-tests/properties/PrintAst.expected
M csharp/ql/test/library-tests/properties/Properties17.expected
A csharp/ql/test/library-tests/properties/Properties19.expected
A csharp/ql/test/library-tests/properties/Properties19.ql
M csharp/ql/test/library-tests/properties/properties.cs
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/IsNotOkayCall.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/NoTarget.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/Quality.cs

Log Message:
-----------
Merge pull request #21866 from michaelnebel/csharp/refreturnindexerproperty

C#: Property- and Indexer calls for ref return properties and indexers.


Commit: 34d4e9a8e28b540300fca39bfd4c0ae3cf104184
https://github.com/krishnprakash/codeql/commit/34d4e9a8e28b540300fca39bfd4c0ae3cf104184
Author: Geoffrey White <40627776...@users.noreply.github.com>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll
A swift/ql/src/change-notes/2026-05-26-hashing-sinks.md
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Merge pull request #21898 from geoffw0/swiftflow

Swift: Extend swift/weak-sensitive-data-hashing, swift/weak-password-hashing sinks


Commit: 2eac8890d3e06cf4b528cb9c7eb86cd6bae46c34
https://github.com/krishnprakash/codeql/commit/2eac8890d3e06cf4b528cb9c7eb86cd6bae46c34
Author: Michael Nebel <michae...@github.com>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M csharp/extractor/Semmle.Extraction.CSharp/CodeAnalysisExtensions/SymbolExtensions.cs
M csharp/paket.dependencies
M csharp/paket.lock
M csharp/paket.main.bzl
M csharp/ql/integration-tests/posix/standalone_dependencies_executing_runtime/Assemblies.expected
M csharp/ql/test/library-tests/encoding/SBCS.cs

Log Message:
-----------
Merge pull request #21893 from michaelnebel/cshar/updateroslyn

C#: Update Roslyn and other pinned depenencies.


Commit: e21ccc694626d0c1625dad6cdbca1e09832ef93f
https://github.com/krishnprakash/codeql/commit/e21ccc694626d0c1625dad6cdbca1e09832ef93f
Author: Phileco <132178579+k...@users.noreply.github.com>
Date: 2026-05-28 (Thu, 28 May 2026)

Changed paths:
M csharp/extractor/Semmle.Extraction.CSharp/CodeAnalysisExtensions/SymbolExtensions.cs
M csharp/extractor/Semmle.Extraction.CSharp/Entities/Accessor.cs
M csharp/paket.dependencies
M csharp/paket.lock
M csharp/paket.main.bzl
M csharp/ql/integration-tests/posix/standalone_dependencies_executing_runtime/Assemblies.expected
A csharp/ql/lib/change-notes/2026-05-19-properties-indexers-refreturn.md
M csharp/ql/lib/semmle/code/csharp/exprs/Call.qll
M csharp/ql/test/library-tests/csharp8/NullableRefTypes.expected
M csharp/ql/test/library-tests/encoding/SBCS.cs
A csharp/ql/test/library-tests/indexers/Indexers13.expected
A csharp/ql/test/library-tests/indexers/Indexers13.ql
M csharp/ql/test/library-tests/indexers/PrintAst.expected
M csharp/ql/test/library-tests/indexers/indexers.cs
M csharp/ql/test/library-tests/properties/PrintAst.expected
M csharp/ql/test/library-tests/properties/Properties17.expected
A csharp/ql/test/library-tests/properties/Properties19.expected
A csharp/ql/test/library-tests/properties/Properties19.ql
M csharp/ql/test/library-tests/properties/properties.cs
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/IsNotOkayCall.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/NoTarget.expected
M csharp/ql/test/query-tests/Telemetry/DatabaseQuality/Quality.cs
M swift/ql/lib/codeql/swift/security/WeakPasswordHashingExtensions.qll
M swift/ql/lib/codeql/swift/security/WeakSensitiveDataHashingExtensions.qll
A swift/ql/src/change-notes/2026-05-26-hashing-sinks.md
M swift/ql/test/query-tests/Security/CWE-328/WeakPasswordHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/WeakSensitiveDataHashing.expected
M swift/ql/test/query-tests/Security/CWE-328/testCryptoKit.swift

Log Message:
-----------
Merge branch 'github:main' into main


Compare: https://github.com/krishnprakash/codeql/compare/39f1af57ffa2...e21ccc694626

To unsubscribe from these emails, change your notification settings at https://github.com/krishnprakash/codeql/settings/notifications
Reply all
Reply to author
Forward
0 new messages