Tom Hvitved
|
f0b9ca4bf9
|
Ruby: Add more guards tests
|
2022-11-08 11:09:54 +01:00 |
|
Tom Hvitved
|
7ba0682297
|
Ruby: Split basic blocks around constant conditionals
|
2022-11-08 09:07:23 +01:00 |
|
Tom Hvitved
|
c86f597153
|
Ruby: Add test for disjunctive guard
|
2022-11-08 09:01:22 +01:00 |
|
Tom Hvitved
|
46631d6eaf
|
Merge pull request #10931 from hvitved/ruby/fix-flow-into-phis
Ruby: Fix flow steps into phi nodes
|
2022-11-02 21:07:06 +01:00 |
|
Tom Hvitved
|
ee9163aa40
|
Ruby: Fix flow steps into phi nodes
- Add missing flow from post-update nodes into phi nodes.
- Prevent flow from reads into phi nodes when use-use flow is prohibited.
|
2022-11-01 16:33:06 +01:00 |
|
Tom Hvitved
|
a191edfbd5
|
Ruby: Add data flow tests that illustrate problems with flow into SSA phi nodes
|
2022-11-01 16:32:46 +01:00 |
|
Tom Hvitved
|
e8f9429b92
|
Merge pull request #10917 from hvitved/ruby/singleton-call-sensitivity
Ruby: Call-context sensitivity for singleton method calls
|
2022-11-01 14:13:26 +01:00 |
|
Harry Maclean
|
3f403f0f87
|
Merge pull request #10700 from hmac/activesupport
Ruby: Model some ActiveSupport methods
|
2022-10-31 11:50:44 +13:00 |
|
Harry Maclean
|
4ec527a9ea
|
Ruby: Explain difference between flow tests
The type-tracking flow tests document the difference in sensitivity
between type-tracking and dataflow, so failures in that test are
expected.
|
2022-10-28 11:31:55 +13:00 |
|
Harry Maclean
|
6e8446b6ae
|
Fix tests
|
2022-10-28 11:31:55 +13:00 |
|
Harry Maclean
|
cb37a0e835
|
Ruby: Add summaries for Hash#deep_merge(!)
|
2022-10-28 11:31:55 +13:00 |
|
Harry Maclean
|
3dea1d6a60
|
Ruby: Add flow summary for Hash#except!
|
2022-10-28 11:31:55 +13:00 |
|
Rasmus Wriedt Larsen
|
6d43db43dd
|
Ruby: Fix tag missing from getARelevantTag
|
2022-10-27 09:12:06 +02:00 |
|
Nick Rolfe
|
269c27757d
|
Ruby: include value-preserving flow in localTaintStep
|
2022-10-21 16:17:11 +01:00 |
|
Nick Rolfe
|
5319216c18
|
Ruby: add test of TaintTracking::localFlowStep
|
2022-10-21 16:04:04 +01:00 |
|
Tom Hvitved
|
4422327c00
|
Ruby: Call-context sensitivity for singleton method calls
|
2022-10-21 11:48:25 +02:00 |
|
Tom Hvitved
|
6feff7e3ed
|
Ruby: Add more data-flow call sensitivity tests
|
2022-10-21 09:36:34 +02:00 |
|
Tom Hvitved
|
61b9065135
|
Ruby: Fix syntax error in a test
|
2022-10-18 16:49:32 +02:00 |
|
Asger F
|
6daa1c432b
|
Ruby: update test output
|
2022-10-11 09:03:51 +02:00 |
|
Asger F
|
d55925d8d4
|
Ruby: support splat type-tracking step
|
2022-10-11 09:03:51 +02:00 |
|
Tom Hvitved
|
0e6735b804
|
Merge pull request #10691 from hvitved/dataflow/conjunctive-clears
Data flow: Take conjunctive `With(out)Contents` into account in `prohibitsUseUseFlow`
|
2022-10-06 09:03:30 +02:00 |
|
Asger F
|
decd4c93c7
|
Ruby: update type tracking test
|
2022-10-05 15:15:52 +02:00 |
|
Tom Hvitved
|
e51c20bfc7
|
Data flow: Take conjunctive With(out)Contents into account in prohibitsUseUseFlow
|
2022-10-05 12:58:29 +02:00 |
|
Tom Hvitved
|
9d23742ed6
|
Ruby: Add test that illustrates issue with conjunctive WithoutContents
|
2022-10-05 11:26:23 +02:00 |
|
Asger F
|
f664a77a02
|
Ruby: ensure Hash flow works again
|
2022-10-05 11:07:55 +02:00 |
|
Asger F
|
6f74a52542
|
Merge branch 'main' into rb/summarize-more
|
2022-10-05 09:55:23 +02:00 |
|
Asger F
|
8b7ec20573
|
Merge branch 'main' into rb/summarize-more
|
2022-10-05 09:43:52 +02:00 |
|
Tom Hvitved
|
1496c4f0e2
|
Merge pull request #10686 from hvitved/ruby/remove-value-pair-content
Ruby: Remove `PairValueContent`
|
2022-10-05 09:41:14 +02:00 |
|
Tom Hvitved
|
aae9a58ca3
|
Ruby: Remove ValuePairContent
|
2022-10-04 20:10:51 +02:00 |
|
Arthur Baars
|
0160c374e4
|
Ruby: add flow summaries for Object#dup and Kernel#tap
|
2022-10-04 12:58:49 +02:00 |
|
Arthur Baars
|
09bc78eafc
|
Ruby: local dataflow step for || and &&
|
2022-10-04 12:58:49 +02:00 |
|
Asger F
|
948594043d
|
Ruby: share type-tracking test with array test
|
2022-10-04 11:15:13 +02:00 |
|
Asger F
|
b6231e82ec
|
Ruby: do not treat WithoutElement[0..!] as a type filter
|
2022-10-04 11:14:31 +02:00 |
|
Asger F
|
00e52ad109
|
Ruby: add type-tracking variant of hash-flow test
Ruby: fixup type-tracking hash flow test
Fixup! type-tracking hash flow test result
|
2022-10-04 11:14:30 +02:00 |
|
Asger F
|
c06743afb5
|
Ruby: update benign test updates
|
2022-10-04 11:08:46 +02:00 |
|
Tom Hvitved
|
3ec43dbd16
|
Ruby: Do not attempt to track precise hash indices for floats and complex numbers
|
2022-09-30 14:57:50 +02:00 |
|
Asger F
|
6e1914ad01
|
Merge pull request #10375 from asgerf/rb/summarize-loads-v2
Ruby: type-tracking and API edges through simple library callables
|
2022-09-30 14:25:17 +02:00 |
|
Michael Nebel
|
82294c1349
|
Merge pull request #10622 from michaelnebel/ruby/postupdateassignexpr
Ruby: Postupdate notes for assignment expressions.
|
2022-09-30 10:00:02 +02:00 |
|
Asger F
|
ae60b0ae6d
|
Ruby: ensure pruning works with startInContent
|
2022-09-29 15:54:51 +02:00 |
|
Michael Nebel
|
dd0f19d0b0
|
Ruby: Update expected test output.
|
2022-09-29 14:12:20 +02:00 |
|
Michael Nebel
|
af4db77046
|
Ruby: Update expected test output.
|
2022-09-29 13:54:59 +02:00 |
|
Michael Nebel
|
9ee831a378
|
Ruby: Add (failing) test case for flow out via assignment expression.
|
2022-09-29 13:54:32 +02:00 |
|
Asger F
|
dc03557aea
|
Merge branch 'main' into rb/summarize-loads-v2
|
2022-09-29 12:07:30 +02:00 |
|
Asger F
|
65de5d014c
|
Ruby: add test case
|
2022-09-28 12:23:58 +02:00 |
|
Asger F
|
fea47c85f3
|
Ruby: expand on type-tracking test a bit
|
2022-09-28 11:40:55 +02:00 |
|
Asger F
|
971657245d
|
Ruby: update API graph inline test to match output
|
2022-09-28 11:17:13 +02:00 |
|
Asger F
|
ce1c258273
|
Ruby: Update TypeTracker.expected
|
2022-09-28 11:15:25 +02:00 |
|
Asger F
|
ee7dea1ab6
|
Merge branch 'main' into rb/summarize-loads-v2
This only fixes superficial conflicts with
https://github.com/github/codeql/pull/10574
semantic conflicts will be addressed in later commits
|
2022-09-28 11:11:44 +02:00 |
|
Asger F
|
14e384aaa2
|
Ruby: remove unneeded import
|
2022-09-28 10:49:34 +02:00 |
|
Asger F
|
85d0c63ec7
|
Ruby: store a ContentSet on type tracker instances
|
2022-09-28 10:49:34 +02:00 |
|