Tom Hvitved
e4853d0e71
Merge pull request #10086 from michaelnebel/csharp/cil
...
C#: CIL Extractor option.
2022-08-31 08:22:18 +02:00
Tom Hvitved
787234cf5c
Merge pull request #10232 from github/workflow/coverage/update
...
Update CSV framework coverage reports
2022-08-31 08:18:50 +02:00
Paolo Tranquilli
8f09485414
Swift: enhance PrintAst testing
...
The `ParentChild` tests have been generalized to test all `PrintAst`
by factoring out `PrintAstNode` into a separate file.
The `child.ql` and `parent.ql` tests have been removed as they are
subsumed by `PrintAst.ql`. Also, a new `no_parent_child_loops` is
added to detect back edges to a root node (back edges to a non-root
node are already detected by `no_double_parents.ql`).
2022-08-31 06:54:30 +02:00
Paolo Tranquilli
cd632dcfee
Swift: minor tweaks
...
Replace string singleton with a newtype-based one, and fix some doc
comment cosmetics.
2022-08-31 06:39:35 +02:00
github-actions[bot]
6c3c41e710
Add changed framework coverage reports
2022-08-31 00:21:31 +00:00
luchua-bc
e2e87980cc
Move pattern check to MatchRegexConfiguration::isSink
2022-08-30 22:48:12 +00:00
Asger F
32c8688805
JS: Make API graph more sparse for escaping class instance members
2022-08-30 20:24:55 +02:00
Mathias Vorreiter Pedersen
a4209df239
Merge branch 'main' into swift-field-flow-2
2022-08-30 18:52:23 +01:00
Ian Lynagh
6f82b06bd7
Kotlin: Implement and use singleOrNullSubType
...
Pulls another cast out into a utility function.
2022-08-30 18:31:01 +01:00
Geoffrey White
3e4a6be53f
Swift: Add missing test annotations.
2022-08-30 18:12:26 +01:00
Geoffrey White
430a8e141d
Swift: Fix issues.
2022-08-30 18:04:12 +01:00
Ed Minnix
6485e73cd3
Added documentation for providesMainIntent pred
2022-08-30 13:00:44 -04:00
Ian Lynagh
a07be192fa
Kotlin: Refactor useSimpleType to avoid some casts
2022-08-30 17:55:57 +01:00
Ed Minnix
500a6f3b86
Add check for files which provide the app launcher
...
Adds support for filtering which applications include the
`android.intent.action.MAIN` intent.
2022-08-30 12:54:26 -04:00
Ed Minnix
b5c54f5a3b
Add check for android:allowBackup explicitly set
...
`android:allowBackup` has a default value of `true`. So we want to flag
any file which explicitly sets it.
2022-08-30 12:53:12 -04:00
Asger F
5ad6c05a9c
Merge pull request #10205 from asgerf/mad-generics
...
Support type variables in MaD typings
2022-08-30 18:07:39 +02:00
Ian Lynagh
3459e5e432
Kotlin: Refactor extractStaticTypeAccessQualifier
...
Avoids a cast
2022-08-30 17:06:13 +01:00
Paolo Tranquilli
47b905bfaf
Swift: add PrintAst
2022-08-30 18:04:55 +02:00
Paolo Tranquilli
6914c4469c
Swift: accept tests after children changes
2022-08-30 17:36:39 +02:00
Paolo Tranquilli
4825e6b8ba
Swift: change some children
...
* made `members` children of an `IterableDeclContext`
* removed `elements` from the children of `EnumCaseDecl`, as they are
already children of the enclosing `EnumDecl`
* removed `base` from the children of `SelfApplyExpr`, as they currently
are already descendants via `getArgument(0).getExpr()`. We should
maybe consider either removing `base` from the schema and add it as
a shortcut on QL, or finish up replacing all `SelfApplyExpr` instances
with synthesized types.
2022-08-30 17:30:39 +02:00
Aditya Sharad
65095e0c5f
Merge pull request #10013 from adityasharad/docs/codeql-tools-changelog-links
...
Docs: Add CodeQL standard packs and bundle to CodeQL tools page
2022-08-30 07:54:42 -07:00
Asger F
0d88d20b56
JS: Actually update test output this time
2022-08-30 16:44:01 +02:00
Tamas Vajk
1bc105aff6
Kotlin: adjust log messages and severities in comment extraction
2022-08-30 15:45:25 +02:00
Tamas Vajk
5418c95a01
Kotlin: minor refactoring in comment extraction
2022-08-30 15:43:48 +02:00
Erik Krogh Kristensen
72942afe3e
Merge pull request #10220 from erik-krogh/overlapsWithNothing
...
print a correct range for ranges that doesn't contain any alpha-numeric chars
2022-08-30 15:38:34 +02:00
Tamas Vajk
9ced14672d
Kotlin: Assign container class as the owner of init block comments
2022-08-30 15:37:55 +02:00
Tamas Vajk
d9b3726ee8
Kotlin: Add test case for doc comment on init block
2022-08-30 15:37:00 +02:00
Anders Schack-Mulligen
4070860d2b
Merge pull request #10208 from aschackmull/java/dispatch-fixes
...
Java: A couple of small virtual dispatch fixes
2022-08-30 15:03:48 +02:00
Tamas Vajk
3513bb8eed
Kotlin: Change Modifiable::isPublic to not cover Kotlin internal members
2022-08-30 14:37:27 +02:00
Michael Nebel
a726aec362
C#: Update change note based on review comment.
2022-08-30 14:34:55 +02:00
Michael Nebel
944a9e6130
C#: Provide change-note.
2022-08-30 14:34:54 +02:00
Michael Nebel
b85db2cc35
C#: Remove '--cil' flag from the dbscheme comments and add dummy upgrade and downgrade scripts.
2022-08-30 14:34:54 +02:00
Michael Nebel
27d1008171
C#: Update tracer arguments.
2022-08-30 14:34:54 +02:00
Michael Nebel
da214c89d6
C#: Update unit tests.
2022-08-30 14:34:54 +02:00
Michael Nebel
ea40e7b29d
C#: Use the extractor option to decide, whether CIL should be enabled.
2022-08-30 14:34:54 +02:00
Michael Nebel
cc898e9b82
C#: Add extractor option parameter for enabling CIL.
2022-08-30 14:34:54 +02:00
Tamas Vajk
d9086e6328
Kotlin: Add test case for internal member accessed from java
2022-08-30 14:26:12 +02:00
Michael Nebel
e020ae77e0
Merge pull request #10158 from michaelnebel/csharp/narrowcollectiontypes
...
C#: Narrow collection like types in model generation.
2022-08-30 14:20:57 +02:00
Asger F
dd44187aed
Sync files again
2022-08-30 14:08:33 +02:00
Asger F
b107dd6855
Fix typo: receiver step -> type step
2022-08-30 14:08:33 +02:00
Asger F
f8b1aa7e7e
Also apply type step in getNodeFromSubPath
2022-08-30 14:08:33 +02:00
Asger F
51d6f752ab
JS: Add partially failing test
2022-08-30 14:08:31 +02:00
Asger F
d5d1365104
Synchronize ApiGraphModels.qll
2022-08-30 14:07:37 +02:00
Asger F
654c4eea0f
Add support for type steps
2022-08-30 14:07:37 +02:00
Asger F
ef627b4872
Add support for TypeVar[x] and typeVariable rows
2022-08-30 14:07:35 +02:00
Asger F
b414192dcc
Bugfix pruning in package-pruning API graph models
2022-08-30 14:05:41 +02:00
Asger F
623531a719
Merge pull request #10206 from asgerf/js/js-mad-changes
...
JS: Some JS-specific MaD changes
2022-08-30 14:03:14 +02:00
erik-krogh
7fd426e748
print a correct range for ranges that doesn't contain any alpha-numeric chars
2022-08-30 13:57:11 +02:00
Asger F
f589520917
JS: Add tests
2022-08-30 13:38:08 +02:00
Geoffrey White
4984d8f6f2
Apply suggestions from code review
...
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com >
2022-08-30 12:26:06 +01:00