Anders Schack-Mulligen
|
09d4fe21e8
|
Ruby: Update more expected output.
|
2023-04-26 13:37:07 +02:00 |
|
Anders Schack-Mulligen
|
90f84bb516
|
Ruby: Update expected output.
|
2023-04-26 13:08:16 +02:00 |
|
Anders Schack-Mulligen
|
81ce6c7779
|
Ruby: Remove empty string DataFlowType in PathNode.
|
2023-04-26 12:54:41 +02:00 |
|
Tom Hvitved
|
65835cdb92
|
Merge pull request #12907 from hvitved/ruby/destructured-assign-join
Ruby: Fix bad join in `DestructuredAssignDesugar`
|
2023-04-25 08:50:27 +02:00 |
|
Tom Hvitved
|
71cd973b42
|
Ruby: Fix bad join in DestructuredAssignDesugar
```
Evaluated relational algebra for predicate Synthesis#d9ff06b1::DestructuredAssignDesugar::LhsWithReceiver::getSynthKind#0#dispred#ff@0c55fb0w on iteration 4 running pipeline order_500000 with tuple counts:
0 ~0% {2} r1 = JOIN Synthesis#d9ff06b1::ConstantWriteAccessKind#ff#prev_delta WITH Constant#c70e4e0a::ScopeResolutionConstantAccess::getName#0#dispred#ff_10#join_rhs ON FIRST 1 OUTPUT Rhs.1, Lhs.1
0 ~0% {2} r2 = JOIN r1 WITH Constant#c70e4e0a::ScopeResolutionConstantAccess::getScopeExpr#0#dispred#ff#prev ON FIRST 1 OUTPUT Lhs.0, Lhs.1
0 ~0% {4} r3 = JOIN Call#841c84e8::MethodCall::getMethodName#0#dispred#ff#prev_delta WITH Call#841c84e8::Call::getNumberOfArguments#0#dispred#ff#prev ON FIRST 1 OUTPUT Lhs.1, false, Rhs.1, Lhs.0
0 ~0% {2} r4 = JOIN r3 WITH Synthesis#d9ff06b1::MethodCallKind#ffff#prev ON FIRST 3 OUTPUT Lhs.3, Rhs.3
0 ~0% {2} r5 = r2 UNION r4
336618 ~3% {1} r6 = SCAN Constant#c70e4e0a::ScopeResolutionConstantAccess::getScopeExpr#0#dispred#ff#prev_delta OUTPUT In.0
336618 ~0% {2} r7 = JOIN r6 WITH Constant#c70e4e0a::ScopeResolutionConstantAccess::getName#0#dispred#ff ON FIRST 1 OUTPUT Rhs.1, Lhs.0
0 ~0% {2} r8 = JOIN r7 WITH Synthesis#d9ff06b1::ConstantWriteAccessKind#ff#prev ON FIRST 1 OUTPUT Lhs.1, Rhs.1
0 ~0% {3} r9 = SCAN Call#841c84e8::Call::getNumberOfArguments#0#dispred#ff#prev_delta OUTPUT false, In.1, In.0
0 ~0% {3} r10 = JOIN r9 WITH Synthesis#d9ff06b1::MethodCallKind#ffff#reorder_1_2_0_3#prev ON FIRST 2 OUTPUT Lhs.2, Rhs.2, Rhs.3
0 ~0% {2} r11 = JOIN r10 WITH Call#841c84e8::MethodCall::getMethodName#0#dispred#ff#prev ON FIRST 2 OUTPUT Lhs.0, Lhs.2
2119 ~2% {3} r12 = JOIN Synthesis#d9ff06b1::MethodCallKind#ffff#reorder_1_2_0_3#prev_delta WITH const_false ON FIRST 1 OUTPUT Lhs.1, Lhs.2, Lhs.3
2657005103 ~5% {3} r13 = JOIN r12 WITH Call#841c84e8::Call::getNumberOfArguments#0#dispred#ff#reorder_1_0#prev ON FIRST 1 OUTPUT Rhs.1, Lhs.1, Lhs.2
1184200 ~0% {2} r14 = JOIN r13 WITH Call#841c84e8::MethodCall::getMethodName#0#dispred#ff#prev ON FIRST 2 OUTPUT Lhs.0, Lhs.2
1184200 ~0% {2} r15 = r11 UNION r14
1184200 ~0% {2} r16 = r8 UNION r15
1184200 ~0% {2} r17 = r5 UNION r16
1184200 ~0% {2} r18 = r17 AND NOT Synthesis#d9ff06b1::DestructuredAssignDesugar::LhsWithReceiver::getSynthKind#0#dispred#ff#prev(Lhs.0, Lhs.1)
return r18
```
|
2023-04-24 13:44:18 +02:00 |
|
Kasper Svendsen
|
bfe5db20a3
|
Merge pull request #12891 from kaspersv/kaspersv/prevent-ruby-join-regression2
Prevent Ruby join order regression
|
2023-04-24 13:27:33 +02:00 |
|
Michael Nebel
|
8ade7247a1
|
Merge pull request #12885 from michaelnebel/mergepathgraph3
Dataflow: Introduce param module for merging three path graphs.
|
2023-04-24 12:49:28 +02:00 |
|
Asger F
|
f3b14e13b2
|
Merge pull request #12841 from asgerf/rb/api-graph-class-nodes
Ruby: add API node representing a module/class object
|
2023-04-21 10:59:51 +02:00 |
|
Kasper Svendsen
|
b707c8162e
|
Prevent Ruby join order regression
|
2023-04-20 15:52:32 +02:00 |
|
Michael Nebel
|
656d8d2451
|
Sync files.
|
2023-04-20 11:29:51 +02:00 |
|
Kasper Svendsen
|
ba6bb79dd3
|
Prevent Ruby join order regression
|
2023-04-19 14:42:27 +02:00 |
|
Erik Krogh Kristensen
|
d7325ba4e1
|
Merge pull request #12856 from p-/p--non-constant-open-improvments
Ruby: Add additional sanitizers for Kernel.open or IO.read or similar sinks with a non-constant value
|
2023-04-19 13:39:16 +02:00 |
|
Peter Stöckli
|
672cb92fbd
|
Ruby: improve non-constant-kernel-open, recursive step for freeze
Co-authored-by: Erik Krogh Kristensen <erik-krogh@github.com>
|
2023-04-19 10:50:59 +02:00 |
|
Harry Maclean
|
c44fbc1063
|
Merge pull request #12786 from hmac/merge-extractor-binaries
Ruby/QL: Merge extractor binaries
|
2023-04-19 15:17:25 +07:00 |
|
Harry Maclean
|
ab4eba11ec
|
Ruby: Rename extractor to codeql-extractor-ruby
|
2023-04-19 06:27:27 +00:00 |
|
Alex Ford
|
924ce250dd
|
Merge pull request #12847 from github/post-release-prep/codeql-cli-2.13.0
Post-release preparation for codeql-cli-2.13.0
|
2023-04-18 14:40:40 +01:00 |
|
Peter Stöckli
|
2f268b309b
|
Ruby: improve non-constant-kernel-open, freeze called on constant
|
2023-04-18 11:24:01 +02:00 |
|
Tom Hvitved
|
f6d000eb20
|
Merge pull request #12805 from hvitved/remove-queries-xml
Remove all `queries.xml` files
|
2023-04-18 10:52:14 +02:00 |
|
Peter Stöckli
|
0a6bb3f7ce
|
Ruby: improve non-constant-kernel-open, no FP's on open without arguments
|
2023-04-18 10:10:36 +02:00 |
|
github-actions[bot]
|
648f0e19ec
|
Post-release preparation for codeql-cli-2.13.0
|
2023-04-17 15:39:24 +00:00 |
|
Asger F
|
e180b7e2ba
|
Ruby: add locations for module object nodes
|
2023-04-17 12:49:35 +02:00 |
|
Asger F
|
8c0c335daf
|
Ruby: update test output
|
2023-04-17 12:47:23 +02:00 |
|
Asger F
|
8363171f1f
|
Ruby: Add MkModuleObject as API node for a module/class
|
2023-04-17 12:47:23 +02:00 |
|
Asger F
|
7332cec9a5
|
Ruby: fix missing 'self' parameters in ModuleNode.getAnImmediateReferenc
|
2023-04-17 12:47:23 +02:00 |
|
Asger F
|
29a20550f6
|
Ruby: use MkUse/MkDef for successors, use/def for predecessors
|
2023-04-17 12:47:23 +02:00 |
|
Asger F
|
ccb57f2a84
|
Merge pull request #12804 from asgerf/rb/api-graphs-cached
Ruby: restrict join order of API graph predicates
|
2023-04-17 08:24:07 +02:00 |
|
Jeroen Ketema
|
0c7346707b
|
Fix minor issues with change notes
|
2023-04-14 15:37:04 +02:00 |
|
github-actions[bot]
|
075d063370
|
Release preparation for version 2.13.0
|
2023-04-14 13:31:30 +00:00 |
|
Asger F
|
f4e8656c17
|
Ruby: move internal methods to API::Node::Internal
|
2023-04-14 13:35:13 +02:00 |
|
Alex Eyers-Taylor
|
c6a482819a
|
Bump all qlpacks major versions
|
2023-04-13 19:15:27 +01:00 |
|
Michael Nebel
|
52bc43b22b
|
Merge pull request #12595 from michaelnebel/enhanceprovenance
Java/C# : Enhance provenance.
|
2023-04-13 14:27:53 +02:00 |
|
Alex Ford
|
8c46bfd051
|
Merge pull request #12816 from github/rc/3.9
Merge `rc/3.9` into `main`
|
2023-04-13 12:35:41 +01:00 |
|
Tom Hvitved
|
3cc9dec9c8
|
Remove all queries.xml files
|
2023-04-13 11:18:58 +02:00 |
|
Michael Nebel
|
1d82b09ec1
|
Sync files.
|
2023-04-13 09:21:05 +02:00 |
|
Asger F
|
69cb138912
|
Ruby: Tweak caching/inlining or API graph predicates
|
2023-04-12 15:56:58 +02:00 |
|
Chris Smowton
|
7eefa43f5a
|
Rename and document viableArgParamSpecific to make clear it is a temporary hook.
|
2023-04-12 14:33:46 +01:00 |
|
Asger F
|
7e23bf3938
|
Ruby: remove some redundant getASubclass() calls
|
2023-04-12 15:32:01 +02:00 |
|
Chris Smowton
|
4d8ca3d759
|
Add dataflow callback to filter out receiver argument flow to Golang interface dispatch candidates.
Other langauges stub the callback.
|
2023-04-12 14:19:06 +01:00 |
|
Harry Maclean
|
8691845d23
|
Ruby: Re-add test
This got lost in an earlier refactor.
|
2023-04-07 15:50:48 +08:00 |
|
Harry Maclean
|
2ef6d5c7b9
|
Ruby/QL: Remove unnecessary CLI config
|
2023-04-07 15:49:17 +08:00 |
|
Harry Maclean
|
d942b54a9d
|
Ruby: Update scripts for merged extractor
|
2023-04-07 15:49:17 +08:00 |
|
Harry Maclean
|
79089b40b9
|
Ruby: Merge extractor binaries into one
There is now one binary, codeql-ruby-extractor, which takes a positional
argument specifying whether to extract, generate or autobuild.
|
2023-04-07 12:04:02 +08:00 |
|
Harry Maclean
|
5a8a6f2971
|
Ruby: Enable derive feature in clap
This allows nicer CLI definitions.
|
2023-04-07 12:04:02 +08:00 |
|
Harry Maclean
|
e2f64de621
|
Merge pull request #12774 from hmac/merge-extractor-binaries
|
2023-04-06 19:21:54 +08:00 |
|
Arthur Baars
|
f1246af7da
|
Merge pull request #12776 from aibaars/update-tree-sitter
Ruby: update tree-sitter to 0.20.10
|
2023-04-06 13:11:12 +02:00 |
|
Arthur Baars
|
144a748388
|
Ruby: update tree-sitter to 0.20.10
|
2023-04-06 09:10:56 +02:00 |
|
Harry Maclean
|
d8a2ba9e00
|
Ruby: Bump clap to 4.2
|
2023-04-06 07:56:10 +08:00 |
|
Harry Maclean
|
109ca0dc20
|
Ruby: Clippy fixes
|
2023-04-05 18:46:57 +08:00 |
|
Harry Maclean
|
b6c071a10b
|
Shared: Further consolidate generators
|
2023-04-05 18:46:57 +08:00 |
|
Harry Maclean
|
c4bee299e5
|
Ruby: Remove db generation functions
These now live in the shared extractor library.
|
2023-04-05 18:46:56 +08:00 |
|