Erik Krogh Kristensen
|
489d4cb908
|
add change-note
|
2022-04-06 23:23:50 +02:00 |
|
Jonathan Leitschuh
|
2753521650
|
Java: Fix Local Temp File/Dir Incorrect Guard Logic
Resolves https://github.com/github/codeql/pull/8032#discussion_r841723906
|
2022-04-06 12:16:09 -04:00 |
|
Erik Krogh Kristensen
|
563d0d6532
|
rename existing getUrl predicate to getRepositoryUrl
|
2022-04-06 15:32:33 +02:00 |
|
Anders Schack-Mulligen
|
879b8a1200
|
Merge pull request #8676 from pwntester/java_hotspots_mods
Make security-related TaintTracking Configuration public
|
2022-04-06 14:40:14 +02:00 |
|
Tom Hvitved
|
4099d1318f
|
Data flow: Tweak two join-orders
Before
```
[2022-04-06 13:19:29] (96s) Tuple counts for DataFlowImpl2::Stage1::revFlowConsCand#7ad53399#ff/2@i14#aa10f2wi after 4.4s:
10681 ~0% {2} r1 = SCAN DataFlowImpl2::Stage1::revFlow#7ad53399#fff#prev_delta OUTPUT In.0, In.2 'config'
982 ~1% {3} r2 = JOIN r1 WITH DataFlowImpl2::readSet#7ad53399#ffff_2301#join_rhs ON FIRST 2 OUTPUT Rhs.3, Lhs.1 'config', Rhs.2
83691528 ~2% {3} r3 = JOIN r2 WITH DataFlowPublic::ContentSet::getAReadContent#dispred#f0820431#ff ON FIRST 1 OUTPUT Lhs.1 'config', Lhs.2, Rhs.1 'c'
83581763 ~2% {3} r4 = r3 AND NOT DataFlowImpl2::Stage1::revFlowConsCand#7ad53399#ff#prev(Lhs.2 'c', Lhs.0 'config')
83581763 ~0% {3} r5 = SCAN r4 OUTPUT In.2 'c', In.0 'config', In.1
0 ~0% {3} r6 = JOIN r5 WITH DataFlowImpl2::Stage1::fwdFlowConsCand#7ad53399#ff ON FIRST 2 OUTPUT Lhs.2, Lhs.1 'config', Lhs.0 'c'
0 ~0% {2} r7 = JOIN r6 WITH DataFlowImpl2::Stage1::fwdFlow#7ad53399#2#fff_02#join_rhs ON FIRST 2 OUTPUT Lhs.2 'c', Lhs.1 'config'
return r7
```
After
```
[2022-04-06 13:44:38] (6s) Tuple counts for DataFlowImpl2::Stage1::revFlowConsCand#7ad53399#ff/2@i14#5abbf2wn after 6ms:
10681 ~0% {2} r1 = SCAN DataFlowImpl2::Stage1::revFlow#7ad53399#fff#prev_delta OUTPUT In.0, In.2 'config'
982 ~1% {3} r2 = JOIN r1 WITH DataFlowImpl2::readSet#7ad53399#ffff_2301#join_rhs ON FIRST 2 OUTPUT Rhs.3, Lhs.1 'config', Rhs.2
109765 ~0% {3} r3 = JOIN r2 WITH DataFlowImpl2::Stage1::fwdFlowConsCandSet#7ad53399#fff#reorder_0_2_1 ON FIRST 2 OUTPUT Lhs.1 'config', Lhs.2, Rhs.2 'c'
0 ~0% {3} r4 = r3 AND NOT DataFlowImpl2::Stage1::revFlowConsCand#7ad53399#ff#prev(Lhs.2 'c', Lhs.0 'config')
0 ~0% {3} r5 = SCAN r4 OUTPUT In.1, In.0 'config', In.2 'c'
0 ~0% {2} r6 = JOIN r5 WITH DataFlowImpl2::Stage1::fwdFlow#7ad53399#2#fff_02#join_rhs ON FIRST 2 OUTPUT Lhs.2 'c', Lhs.1 'config'
return r6
```
|
2022-04-06 13:52:30 +02:00 |
|
Anders Schack-Mulligen
|
bbb6d08071
|
Merge pull request #8661 from Marcono1234/marcono1234/getMethod-public-only
Java: Fix reflection predicate for `getMethod` having non-public method result
|
2022-04-06 12:03:14 +02:00 |
|
Alvaro Muñoz Sanchez
|
9ccd0e564b
|
Add QLDocs
|
2022-04-06 12:00:41 +02:00 |
|
Anders Schack-Mulligen
|
d0b5b99e74
|
Merge pull request #8611 from github/smowton/doc/switch-expr-accessors
Java: make SwitchCase.getRuleExpression/Statement more consistent
|
2022-04-06 11:16:40 +02:00 |
|
Alvaro Muñoz Sanchez
|
19b8d51c0b
|
Update CommandLineQuery
Make TaintTracking configuration public
|
2022-04-06 10:58:56 +02:00 |
|
Alvaro Muñoz Sanchez
|
abaa71e2c5
|
Update Sql Injection queries
move java/ql/src/Security/CWE/CWE-089/SqlInjectionLib.qll -> java/ql/lib/semmle/code/java/security/SqlInjectionQuery.qll
|
2022-04-06 10:57:14 +02:00 |
|
Michael Nebel
|
2562910b94
|
C#: Update Csv validation to allow sources and sink kinds to be prefixed with generated.
|
2022-04-05 14:25:34 +02:00 |
|
Michael Nebel
|
d7bf024318
|
Java: Add testcase for generated summary model.
|
2022-04-05 14:25:34 +02:00 |
|
Michael Nebel
|
0374f84c05
|
Java: Make support for generated as a part of kind.
|
2022-04-05 14:25:34 +02:00 |
|
Michael Nebel
|
3a04e9a03d
|
Java: Update java capture models with new kind column (including tests).
|
2022-04-05 12:55:47 +02:00 |
|
Michael Nebel
|
784327c183
|
Java/Ruby: Hardcode generated flag to false.
|
2022-04-05 08:55:12 +02:00 |
|
Michael Nebel
|
de76df3988
|
C#: Only use generated summaries, if no handwritten model exist for a particular dataflow callable.
|
2022-04-05 08:55:12 +02:00 |
|
Michael Nebel
|
3fe941aae2
|
C#: Add missing empty ext column in generated summaries.
|
2022-04-04 15:58:35 +02:00 |
|
Marcono1234
|
6dd14a6cb3
|
Java: Fix reflection predicate for getMethod having non-public method result
|
2022-04-04 15:10:49 +02:00 |
|
Tom Hvitved
|
415a1c2107
|
Java/C#: Update CaptureModels.qll
|
2022-04-04 13:51:44 +02:00 |
|
Tom Hvitved
|
b91858e7cf
|
Java: Implement ContentSet
|
2022-04-04 13:51:44 +02:00 |
|
Tom Hvitved
|
c4fbc618a9
|
Data flow: Sync files
|
2022-04-04 13:51:44 +02:00 |
|
github-actions[bot]
|
6af568b16d
|
Post-release preparation for codeql-cli-2.8.5
|
2022-04-01 16:22:14 +00:00 |
|
Chris Smowton
|
28fa49dcd6
|
dataflow -> data-flow
|
2022-04-01 13:22:58 +01:00 |
|
Tony Torralba
|
4cf0ebc5a8
|
Add change note
|
2022-04-01 12:43:27 +02:00 |
|
github-actions[bot]
|
ee746d20df
|
Release preparation for version 2.8.5
|
2022-04-01 10:39:31 +00:00 |
|
Tony Torralba
|
cc9b16beff
|
Fix wrong models of spring-web
|
2022-04-01 12:37:30 +02:00 |
|
Tony Torralba
|
3747aec144
|
Improve models of spring-beans
|
2022-04-01 12:37:22 +02:00 |
|
Chris Smowton
|
3b0bd3bc0f
|
Improve wording
|
2022-04-01 11:31:31 +01:00 |
|
Chris Smowton
|
81e60eb145
|
Add change note
|
2022-04-01 11:20:03 +01:00 |
|
Chris Smowton
|
99026a6071
|
Improve wording of isAdditionalFlow/TaintStep qldoc
|
2022-04-01 11:07:27 +01:00 |
|
Chris Smowton
|
9309a652df
|
Merge pull request #8493 from JLLeitschuh/feat/JLL/test_assertion_guard_preconditions
[Java]: Add precondition support for testing library asserts
|
2022-03-31 22:30:09 +01:00 |
|
Chris Smowton
|
9bcf466aa8
|
Accept expected test result improvement
|
2022-03-31 15:19:08 +01:00 |
|
Chris Smowton
|
2829770003
|
Autoformat and fix typo
|
2022-03-31 14:11:09 +01:00 |
|
Anders Schack-Mulligen
|
f1ec2e3260
|
Merge pull request #8426 from atorralba/atorralba/missing-severities
Java: Add missing security-severity scores
|
2022-03-31 14:53:47 +02:00 |
|
Anders Schack-Mulligen
|
8d9ce5fb4c
|
Merge pull request #8625 from aschackmull/java/qldoc-casing-fix
Java: Fix acronym casing in qldoc referring to Java class names.
|
2022-03-31 13:33:11 +02:00 |
|
Chris Smowton
|
04325abfa5
|
Add test
|
2022-03-31 12:26:38 +01:00 |
|
Chris Smowton
|
c2d461bcee
|
Format
|
2022-03-31 12:19:53 +01:00 |
|
Chris Smowton
|
0d9c353c37
|
Represent switch statement and switch expression results alike
|
2022-03-31 12:19:11 +01:00 |
|
Chris Smowton
|
96bf754f01
|
Accept intrigus suggested doc clarifications
Co-authored-by: intrigus-lgtm <60750685+intrigus-lgtm@users.noreply.github.com>
|
2022-03-31 12:09:45 +01:00 |
|
Anders Schack-Mulligen
|
f28da00ec4
|
Java: Fix qldoc as followup to https://github.com/github/codeql/pull/8323
|
2022-03-31 12:50:36 +02:00 |
|
Michael Nebel
|
27b1d1e1e0
|
Merge pull request #8348 from michaelnebel/csharp/externalapi-telemetry
C#: ExternalAPI implementation for Telemetry.
|
2022-03-31 11:36:07 +02:00 |
|
Chris Smowton
|
19cd97e426
|
Java: Clarify the meaning of getRuleExpression/Statement
|
2022-03-30 17:58:11 +01:00 |
|
Chris Smowton
|
9675f34cf5
|
Merge pull request #8257 from luchua-bc/java/insecure-webview-resource-response
Java: CWE-200 Query to detect insecure WebResourceResponse implementation
|
2022-03-30 15:56:27 +01:00 |
|
Marcono1234
|
a93b4ed0f2
|
Java: Make JumpStmt a proper superclass
|
2022-03-30 00:30:27 +02:00 |
|
luchua-bc
|
fa2a6a7da3
|
Remove unnecessary taint step and update qldoc
|
2022-03-29 17:52:49 +00:00 |
|
Michael Nebel
|
6be41b0c29
|
C#/Java: Address review comments.
|
2022-03-29 14:52:57 +02:00 |
|
Michael Nebel
|
b0a24a7a44
|
C#: Change the implementation on getAnInput and getAnOutput based on hvitveds recommendations.
|
2022-03-29 14:52:57 +02:00 |
|
Michael Nebel
|
e1d4c1b68c
|
C#/Java: Reorder code in terms of dependency, rename ExternalAPI to ExternalApi and add some missing predicate qualifiers.
|
2022-03-29 14:52:52 +02:00 |
|
Michael Nebel
|
c552ab4138
|
Java: Remove duplicate import statement in ExternalAPI.qll.
|
2022-03-29 14:49:37 +02:00 |
|
Tony Torralba
|
e564481e9f
|
Organize imports
|
2022-03-29 11:38:24 +02:00 |
|