Harry Maclean
|
06000781e9
|
Ruby: Document PairCfgNode::getKey/getValue
|
2021-11-19 14:54:06 +00:00 |
|
Harry Maclean
|
90a9688310
|
Ruby: update CFG fixture
|
2021-11-19 11:31:14 +00:00 |
|
Harry Maclean
|
8fc7e4be43
|
Ruby: Increase precision of SSRF query
|
2021-11-19 11:28:09 +00:00 |
|
Harry Maclean
|
c297a68acf
|
Model more of the RestClient API
We now handle this form:
RestClient::Request.execute(url: "http://example.com")
|
2021-11-19 11:28:09 +00:00 |
|
Harry Maclean
|
e2ef780c55
|
Add base_uri note to HTTParty modelling
|
2021-11-19 11:28:09 +00:00 |
|
Harry Maclean
|
38ff584307
|
Model more Faraday behaviour
You can instantiate a Faraday connection by passing a URL as an keyword
argument:
conn = Faraday.new(url: "http://example.com")
|
2021-11-19 11:28:09 +00:00 |
|
Harry Maclean
|
f933d24031
|
Fix comment
|
2021-11-19 11:28:09 +00:00 |
|
Harry Maclean
|
e87a4531d8
|
Remove redundant imports
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
ac20eafecc
|
Add qhelp for Ruby SSRF
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
2bba31eb02
|
Update metadata of Ruby SSRF query
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
dc464879a2
|
Add a query for server-side request forgery
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
cd33e4d394
|
Make string interpolation sanitizer reusable
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
b6ce37b241
|
Add getURL to HTTP::Client::Request
This member predicate gets dataflow nodes which contribute to the URL of
the request.
Also consolidate the identical tests for each HTTP client.
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
8fd8c9b04d
|
Fix CallExprCfgNode.getKeywordArgument
This predicate now produces results.
|
2021-11-19 11:28:08 +00:00 |
|
Harry Maclean
|
0caea17118
|
Add a test for CallCfgNodes
This test shows that `CallCfgNode.getKeywordArgument(string keyword)`
doesn't return any results.
|
2021-11-19 11:28:07 +00:00 |
|
Anders Schack-Mulligen
|
1f3f7e9ccc
|
Merge pull request #7169 from erik-krogh/useMatches
use matches instead of regexpMatch/prefix/suffix
|
2021-11-19 11:42:47 +01:00 |
|
Erik Krogh Kristensen
|
011fc20963
|
use matches instead of regexpMatch
|
2021-11-18 15:41:25 +01:00 |
|
Anders Schack-Mulligen
|
6815a13a00
|
Merge pull request #6931 from hvitved/dataflow/restrict-derived-summaries
Data flow: Restrict derived flow summaries
|
2021-11-18 15:31:55 +01:00 |
|
Erik Krogh Kristensen
|
1cca377e7d
|
Merge pull request #6561 from erik-krogh/htmlReg
JS/Py/Ruby: add a bad-tag-filter query
|
2021-11-18 09:39:13 +01:00 |
|
Alex Ford
|
08b6a17097
|
Merge pull request #7151 from github/ruby/methodcallnode
Ruby: add `getMethodName` predicate to `DataFlow::CallNode` class
|
2021-11-17 14:40:07 +00:00 |
|
Tom Hvitved
|
4eacbd1cbe
|
Ruby: Sync files
|
2021-11-17 10:49:51 +01:00 |
|
Arthur Baars
|
7c2841f058
|
Ruby: QL generator: use qualified imports
|
2021-11-17 10:37:44 +01:00 |
|
Tom Hvitved
|
7cfc696d62
|
Merge pull request #7141 from hvitved/ruby/synthesis-realnode-recursion
Ruby: Eliminate unnecessary recursion through `RealNode`
|
2021-11-17 09:03:30 +01:00 |
|
Alex Ford
|
c8cdbfa352
|
ruby: push getMethodName into DataFlow::CallNode
|
2021-11-16 17:11:26 +00:00 |
|
Alex Ford
|
286c894f34
|
ruby: add DataFlow::MethodCallNode class
|
2021-11-16 15:39:47 +00:00 |
|
Anders Schack-Mulligen
|
c70d384d28
|
Merge pull request #7045 from aschackmull/dataflow/hidden-ret-subpaths
Data flow: Support hidden return nodes in subpaths predicate
|
2021-11-16 15:04:51 +01:00 |
|
Tom Hvitved
|
9e8e2e2b48
|
Ruby: Update CFG test output (some nodes have been reordered)
|
2021-11-16 12:45:24 +01:00 |
|
Tom Hvitved
|
e7b091086d
|
Ruby: Eliminate unnecessary recursion through RealNode
|
2021-11-16 12:24:17 +01:00 |
|
Tom Hvitved
|
3a8e2db3ab
|
Merge pull request #7121 from hvitved/ruby/lookup-const-anti-join
|
2021-11-16 11:32:55 +01:00 |
|
Tom Hvitved
|
03ae58830a
|
Ruby: Add missing CFG entry for ForwardParameter
|
2021-11-15 16:28:17 +01:00 |
|
Tom Hvitved
|
3ce41015bb
|
Ruby: Add CFG test for forward parameters
|
2021-11-15 16:25:06 +01:00 |
|
Tom Hvitved
|
4bbfa514c9
|
Merge pull request #6535 from hvitved/csharp/consistency-queries
C#: Add consistency queries
|
2021-11-15 13:15:58 +01:00 |
|
Tom Hvitved
|
723ac818d9
|
Shared CFG: Update breakInvariant4 consistency test
|
2021-11-15 11:43:49 +01:00 |
|
Tom Hvitved
|
d1a09b62d3
|
Address review comments
|
2021-11-12 16:31:00 +01:00 |
|
Tom Hvitved
|
3471e757f2
|
Ruby: Fix performance problem in Definitions.ql
|
2021-11-12 14:35:16 +01:00 |
|
Tom Hvitved
|
19e6da517b
|
Ruby: Fix bad join-order in resolveConstant
```
[2021-11-09 11:35:47] (99s) Starting to evaluate predicate Module::Cached::resolveConstant#ff#antijoin_rhs/3@f6dcd6
[2021-11-09 11:35:58] (111s) Tuple counts for Module::Cached::resolveConstant#ff#antijoin_rhs/3@f6dcd6 after 11.5s:
165960683 ~0% {4} r1 = JOIN Module::Cached::resolveConstant#ff#shared WITH Module::constantDefinition0#ff_10#join_rhs ON FIRST 1 OUTPUT Rhs.1, Lhs.1 'arg1', Lhs.0 'arg0', Lhs.2 'arg2'
0 ~0% {3} r2 = JOIN r1 WITH Module::ClassDeclaration::getSuperclassExpr_dispred#ff ON FIRST 2 OUTPUT Lhs.2 'arg0', Lhs.1 'arg1', Lhs.3 'arg2'
0 ~0% {3} r3 = JOIN r1 WITH Constant::ConstantAccess::getScopeExpr_dispred#ff ON FIRST 2 OUTPUT Lhs.2 'arg0', Lhs.1 'arg1', Lhs.3 'arg2'
0 ~0% {3} r4 = r2 UNION r3
return r4
```
|
2021-11-12 14:08:11 +01:00 |
|
Erik Krogh Kristensen
|
b639a8d183
|
update ruby example
Co-authored-by: Nick Rolfe <nickrolfe@github.com>
|
2021-11-11 14:04:38 +01:00 |
|
Anders Schack-Mulligen
|
7ffd9b4f9e
|
Dataflow: Include read/store steps when finding non-hidden return.
|
2021-11-11 11:26:21 +01:00 |
|
Tom Hvitved
|
34fdf11b4b
|
Ruby: Update expected test output
|
2021-11-10 15:11:13 +01:00 |
|
Anders Schack-Mulligen
|
6d9fb3ca43
|
Dataflow: Sync.
|
2021-11-10 15:11:13 +01:00 |
|
Tom Hvitved
|
7178a98e45
|
Ruby: Rename pruneUseNode{Fwd,Rev}
|
2021-11-09 15:16:36 +01:00 |
|
Tom Hvitved
|
30251740e3
|
Ruby: Prune nodes before computing trackUseNode
|
2021-11-09 15:16:36 +01:00 |
|
Tom Hvitved
|
8195ebf4b3
|
Merge pull request #7059 from hvitved/ruby/basic-store-step-postupdate
Ruby: Fix `basicStoreStep`
|
2021-11-09 15:16:07 +01:00 |
|
Alex Ford
|
2581efc18a
|
ruby: downgrade rb/hardcoded-credentials precision from high to medium
|
2021-11-08 12:32:38 +00:00 |
|
Anders Schack-Mulligen
|
e0b121cd90
|
Merge pull request #7047 from hvitved/csharp/ssa/dominance-frontier
Shared SSA: Improved dominance frontier calculation
|
2021-11-08 08:50:46 +01:00 |
|
Tom Hvitved
|
3544c85445
|
Ruby: Make the target of basicStoreStep the post-update node
|
2021-11-04 14:21:22 +01:00 |
|
Tom Hvitved
|
1101b1054d
|
Ruby: Make target of basicStoreStep a normal data flow node
|
2021-11-04 14:20:07 +01:00 |
|
Tom Hvitved
|
a56a5e4e7d
|
Ruby: Add type tracker tests
|
2021-11-04 14:19:16 +01:00 |
|
Erik Krogh Kristensen
|
02f500b9c2
|
Merge branch 'main' into htmlReg
|
2021-11-04 12:58:42 +01:00 |
|
Tom Hvitved
|
16d96d2ad3
|
Ruby: Remove Node::getEnclosingCallable and ParameterNode::isParameterOf
|
2021-11-03 15:59:29 +01:00 |
|