Harry Maclean
f40f2db3ab
Ruby: Fix name of url-redirection sink model
2023-11-27 11:25:37 +00:00
Harry Maclean
6a38223127
Ruby: QL4QL fix
2023-11-27 10:17:31 +00:00
Harry Maclean
e9277a56a9
Ruby: Add sinks from external models
2023-11-27 09:18:00 +00:00
Harry Maclean
ad608341ab
Ruby: Handle alternative gemspec names
...
Gemspecs are sometimes named via the first argument to
`Gem::Specification.new`:
```rb
Gem::Specification.new 'sinatra' do |s|
# ...
end
```
2023-11-27 09:18:00 +00:00
Harry Maclean
9b998a39b4
Ruby: Add tags to GenerateModel query
...
This allows the model editor to find this query in a more robust way
than by file path.
2023-11-27 09:18:00 +00:00
Harry Maclean
b9d15bacba
Ruby: Don't classify our test files as test files
...
For model editing purposes.
2023-11-27 09:17:59 +00:00
Harry Maclean
064b10a5cb
Ruby: Handle missing gemspec in model query
2023-11-27 09:17:59 +00:00
Harry Maclean
9dcc424f8c
Ruby: Include keyword parameters endpoint query
2023-11-27 09:17:59 +00:00
Harry Maclean
5dcc3d43ca
Ruby: Recognise modeled source/sink methods
2023-11-27 09:17:59 +00:00
Harry Maclean
766e68aa36
Ruby: Handle multiple gemspecs in endpoints query
2023-11-27 09:17:59 +00:00
Harry Maclean
c54743c3fd
Ruby: Include class methods in model editor query
2023-11-27 09:17:59 +00:00
Harry Maclean
78125a701d
Ruby: Model Editor support
...
Add experimental support for the CodeQL Model Editor.
2023-11-27 09:17:59 +00:00
Tom Hvitved
9eaebfcf60
Merge pull request #14859 from hvitved/ruby/missing-flow-tests
...
Ruby: Add tests illustrating missing flow
2023-11-24 14:57:15 +01:00
Harry Maclean
d239a30866
Merge pull request #14874 from hmac/hmac-missing-flow-test
...
Ruby: Add test for missing block flow
2023-11-24 13:44:55 +00:00
Tom Hvitved
8ccce5891d
Ruby: Add tests illustrating missing flow
2023-11-24 14:28:04 +01:00
Harry Maclean
288fbfd2ec
Ruby: Add test for missing block flow
2023-11-22 09:59:55 +00:00
amammad
2097a001b9
apply code review suggestions, fix qldoc, add experimental additional taint steps that can improve performance
2023-11-22 10:01:51 +01:00
Tom Hvitved
1a6886cf99
SSA: Add locations to ease debugging
2023-11-22 08:37:02 +01:00
Tom Hvitved
12359ba733
Add change note
2023-11-21 11:46:15 +01:00
Tom Hvitved
6ce8e0510f
Ruby: Adopt shared type tracking library
2023-11-20 16:03:24 +01:00
Tom Hvitved
620e8dcb37
Merge pull request #14787 from hvitved/ruby/prune-dataflow-nodes
...
Ruby: Prune irrelevant data flow nodes and edges
2023-11-20 16:03:00 +01:00
github-actions[bot]
bad499e360
Post-release preparation for codeql-cli-2.15.3
2023-11-17 14:35:41 +00:00
github-actions[bot]
6ec9b95072
Release preparation for version 2.15.3
2023-11-16 13:07:16 +00:00
Tom Hvitved
b2f1022e5c
Ruby: Prune irrelevant data flow nodes and edges
2023-11-16 13:52:07 +01:00
Tom Hvitved
75f42f4614
Merge pull request #14783 from hvitved/ruby/hash-array-literal
...
Ruby: Include more nodes in `{Hash,Array}LiteralCfgNode`
2023-11-16 13:51:35 +01:00
Tom Hvitved
2c23dacca1
Ruby: Add more hash/array literal tests
2023-11-16 12:58:53 +01:00
Tom Hvitved
475d8da342
Ruby: Include more nodes in {Hash,Array}LiteralCfgNode
2023-11-14 13:50:46 +01:00
Tom Hvitved
f1b67ade9b
Ruby: Include name of variable in UninitializedDefinition.toString
2023-11-14 11:33:59 +01:00
Rasmus Wriedt Larsen
43d9d2ceb7
Merge pull request #14603 from github/max-schaefer/broken-crypto-algorithm-link
...
JavaScript/Python/Ruby: Improve alert message for `*/weak-cryptographic-algorithm`.
2023-11-08 14:29:24 +01:00
Geoffrey White
e8a466a02c
Update dead link.
2023-11-07 09:26:07 +00:00
Tom Hvitved
3c86aad16d
Merge pull request #14628 from hvitved/ruby/type-tracking-store-post-update
...
Ruby: Summarized type-tracking stores should target post-update nodes
2023-11-01 13:54:21 +01:00
Tom Hvitved
0c5b528d54
Address review comments
2023-11-01 11:32:57 +01:00
Chris Smowton
79e1aa0498
Merge pull request #14634 from github/post-release-prep/codeql-cli-2.15.2
...
Post-release preparation for codeql-cli-2.15.2
2023-10-31 10:24:53 +00:00
github-actions[bot]
2b939fdf08
Post-release preparation for codeql-cli-2.15.2
2023-10-30 16:06:51 +00:00
Harry Maclean
083be305e1
Shared: Add neutralModel extensible predicate
...
The neutralModel extensible predicate already exists in Java and C#, so
this change brings the dynamic languages more in line with static
languages. The Model Editor uses this predicate to mark endpoints as
"not interesting" from a data flow perspective.
2023-10-30 11:31:57 +00:00
github-actions[bot]
4641990021
Release preparation for version 2.15.2
2023-10-30 11:05:53 +00:00
Tom Hvitved
14cfb82a8c
Ruby: Summarized type-tracking stores should target post-update nodes
2023-10-30 10:47:29 +01:00
Alex Ford
8db23dc775
Ruby: refine ActiveRecord update_all as an SQL sink
2023-10-30 09:47:16 +00:00
Alex Ford
013e7aae97
Ruby: test whitespace changes
2023-10-30 09:32:44 +00:00
Alex Ford
cb1cd5ed2a
Merge pull request #14560 from alexrford/rb/modgen
...
Ruby: add a query and script for autogenerating typeModel and summaryModel data extensions entries
2023-10-27 16:43:42 +01:00
Alex Ford
f6ac63b259
Ruby: modgen - use FeatureEqualSourceSinkCallContext feature rather than late filtering for method context
2023-10-27 14:48:50 +01:00
Alex Ford
0818354ad7
Ruby: modgen - fix unbound variable
2023-10-27 11:46:09 +01:00
Max Schaefer
104700f6d3
Address review comment.
2023-10-27 10:19:28 +01:00
Alex Ford
5a1a3f0727
Ruby: modgen - deduplicate getAnyParameter logic
2023-10-26 17:45:47 +01:00
Alex Ford
86ba75cadf
Ruby: modgen - support self arguments
2023-10-26 17:42:46 +01:00
Alex Ford
6203887645
fixup
2023-10-26 17:38:43 +01:00
Alex Ford
24946c0dfd
Ruby: modgen - restrict flow summaries to public methods
2023-10-26 17:05:31 +01:00
Alex Ford
fef2932f56
Apply suggestions from code review
...
Co-authored-by: Harry Maclean <hmac@github.com >
2023-10-26 17:04:51 +01:00
Max Schaefer
08cc8b8e80
Autoformat.
2023-10-26 15:36:06 +01:00
Max Schaefer
f42bd28ca9
Port changes to Ruby.
2023-10-26 15:06:45 +01:00