Nora Dimitrijević
4900e4030a
Swift: MethodLookupExpr.getMethodRef() [hand-written]
...
This refactors SelfApplyExpr.getFunction() as MethodLookupExpr().getMethodRef().
This is simpler, because we are not hiding DeclRefExprs or reinventing hidden AST resolution.
2022-12-20 23:08:32 -05:00
dependabot[bot]
a5bb13f2b6
Bump actions/stale from 6 to 7
...
Bumps [actions/stale](https://github.com/actions/stale ) from 6 to 7.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/stale/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-12-21 03:12:32 +00:00
github-actions[bot]
eb98bb2842
Add changed framework coverage reports
2022-12-21 00:15:01 +00:00
Owen Mansel-Chan
3eb419eb1a
Give context for code examples
2022-12-20 22:20:13 +00:00
Aditya Sharad
d2ee8c08c0
Ruby: Add shared tutorial pack to testing bundle
2022-12-20 10:56:05 -08:00
Mathias Vorreiter Pedersen
f0ba33ae74
C++: Accept test changes.
2022-12-20 18:19:18 +00:00
Erik Krogh Kristensen
a1639c438f
Merge pull request #11762 from erik-krogh/fixParent
...
QL: fix `getAnnotation()` for new-type branches with parameters
2022-12-20 18:18:39 +01:00
erik-krogh
ab9855e196
fix getAnnotation() for new-type branches with parameters
2022-12-20 15:55:54 +01:00
Paolo Tranquilli
454af0d721
Swift: fix locking of output swiftmodule trap
2022-12-20 15:34:18 +01:00
Paolo Tranquilli
a1161c6efe
Swift: remove header patch which is not needed any more
2022-12-20 15:28:52 +01:00
Paolo Tranquilli
725861626c
Merge branch 'main' into redsun82/swift-open-redirection
2022-12-20 15:28:30 +01:00
Jami
c9258effb6
Merge pull request #11572 from jcogs33/jcogs33/model-top-jdk-apis
...
Java: model top 100 JDK APIs
2022-12-20 09:13:53 -05:00
Mathias Vorreiter Pedersen
07ab119b8c
C++: Add explicit qualifiers.
2022-12-20 13:38:50 +00:00
Mathias Vorreiter Pedersen
d2964a7d4a
C++: Also handle '__finally' blocks.
2022-12-20 13:28:33 +00:00
Mathias Vorreiter Pedersen
3c8efa88e0
C++: Handle Microsoft '__try __except' in the existing 'TryStmt' IR logic.
2022-12-20 13:28:28 +00:00
Mathias Vorreiter Pedersen
cd6e421cf5
C++: Add a test with '__try __except' and '__try __finally' in the 'ir' test directory.
2022-12-20 13:28:22 +00:00
Tony Torralba
30aa9b230c
Apply suggestions from code review
...
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com >
2022-12-20 14:14:05 +01:00
erik-krogh
57f429ec5d
change this = this to any()
2022-12-20 13:56:25 +01:00
Erik Krogh Kristensen
0cc3232c10
fix typo
...
Co-authored-by: Arthur Baars <aibaars@github.com >
2022-12-20 13:56:25 +01:00
erik-krogh
0a828f7b31
fix the left()/right() predicates such that they return an Either
2022-12-20 13:56:25 +01:00
erik-krogh
b1001d1a10
make TypeWithToString private inside the shared pack
2022-12-20 13:56:25 +01:00
erik-krogh
0e426090f2
update expected output
2022-12-20 13:56:23 +01:00
Jami
dc0bad3dc5
update change note
...
Co-authored-by: yo-h <55373593+yo-h@users.noreply.github.com >
2022-12-20 07:55:58 -05:00
erik-krogh
605bfd6e93
move the "I don't care about parent relation on mocks" hack into the predicate, so the tests dont fail
2022-12-20 13:55:49 +01:00
erik-krogh
54072d29f1
add explicit this
2022-12-20 13:55:49 +01:00
erik-krogh
49277f553f
model the last parts of the EquivalenceRelation module
2022-12-20 13:55:49 +01:00
erik-krogh
a11e618cfc
mock parameters
2022-12-20 13:55:49 +01:00
erik-krogh
4feb48ce5f
classless predicate, used to model the edgeSig predicate
2022-12-20 13:55:49 +01:00
erik-krogh
4dc52379ad
add a mock TypeExpr, and use it
2022-12-20 13:55:49 +01:00
erik-krogh
5db2f0aba0
mock classes, and add a Mock T class to QlBuiltins
2022-12-20 13:55:49 +01:00
erik-krogh
b7e0d1f8b3
don't include mock Ast nodes in PrintAst.ql
2022-12-20 13:55:49 +01:00
erik-krogh
51d5e881de
add an Ast mocking library, and use it to create mocks of the QlBuiltins and EquivalenceRelation modules
2022-12-20 13:55:48 +01:00
erik-krogh
0ca38faa4d
add test of buildins
2022-12-20 13:54:38 +01:00
erik-krogh
236e6db996
fix typos
2022-12-20 13:54:02 +01:00
erik-krogh
50a91b5017
shared: add a shared Either type
2022-12-20 13:54:02 +01:00
Erik Krogh Kristensen
073e9bc52f
Merge pull request #11173 from erik-krogh/notDead
...
QL: improve the dead-code query
2022-12-20 13:36:58 +01:00
Erik Krogh Kristensen
b1e6a86a4b
Merge pull request #11757 from erik-krogh/treesitter-qldoc
...
QL/RB: make top TreeSitter.qll comment into a qldoc
2022-12-20 13:36:31 +01:00
Rasmus Lerchedahl Petersen
f5e33ac00a
Merge remote-tracking branch 'origin/main' into python/support-grouped-exceptions
2022-12-20 13:31:50 +01:00
Erik Krogh Kristensen
b5b0a64081
Merge pull request #11751 from jacola/main
...
Fix javascript syntax
2022-12-20 13:02:23 +01:00
Rasmus Lerchedahl Petersen
ad6ed2f629
python: update expectations
...
extra tests
2022-12-20 13:01:27 +01:00
Erik Krogh Kristensen
6be223ad6d
Merge pull request #11756 from aibaars/fix-ql-module-parameter
...
QL: fix visibility of module parameters
2022-12-20 12:59:07 +01:00
erik-krogh
2ff23a6fc0
make top TreeSitter.qll comment into a qldoc
2022-12-20 11:39:06 +01:00
Jeroen Ketema
0addae81cd
Merge remote-tracking branch 'upstream/main' into mathiasvp/replace-ast-with-ir-use-usedataflow
2022-12-20 11:34:41 +01:00
Arthur Baars
c8255770bc
QL: fix visibility of module parameters
2022-12-20 11:22:20 +01:00
Tony Torralba
149cae9603
Merge pull request #10971 from joefarebrother/android-certificate-pinning
...
Java: Add Android missing certificate pinning query (CWE-295)
2022-12-20 11:03:16 +01:00
Arthur Baars
bad5c65144
Add test
2022-12-20 10:37:57 +01:00
Mathias Vorreiter Pedersen
cbe330eb7b
Merge pull request #11693 from jketema/argv-param-flowsource
...
C++: Define the `argv` flow source in terms the input parameter
2022-12-20 09:30:19 +00:00
Tony Torralba
3e7a819fe7
Simplification
2022-12-20 09:42:25 +01:00
Jeroen Ketema
edc768b43b
Merge pull request #11707 from smowton/smowton/fix/java-empty-multiline-comment
...
Java: handle printing an empty comment (/**/); add relevant tests
2022-12-20 08:07:42 +01:00
Jacques
b99c500435
Fix associated test
2022-12-20 12:51:13 +09:00