Rasmus Lerchedahl Petersen
2daa9577bb
ruby/python: implement shared module
...
ruby:
- create new shared file `SummaryTypeTracker.qll`
- move much logic into the module
- instantiate the module
- remove old logic, now provided by module
python:
- clone shared file
- instantiate module
- use (some of the) steps provided by the module
2023-05-30 13:31:24 +02:00
Asger F
3831dc7785
Merge pull request #13288 from asgerf/rb/super-and-flow-through
...
Ruby: two bug fixes
2023-05-26 15:04:52 +02:00
Asger F
cfaa27ab5d
Ruby: change note
2023-05-26 14:44:00 +02:00
yoff
af1f4c30fb
Merge pull request #13299 from asgerf/rb/meta-query-summarised-callable-sites
...
Ruby/Python: add meta-queries for calls to summarised callables
2023-05-26 13:27:56 +02:00
Arthur Baars
e0466900ad
Merge pull request #12992 from Sim4n6/ruby-UBV
...
[Ruby] Add Unicode Bypass Validation query, test and help file
2023-05-26 13:00:21 +02:00
Alex Ford
baabd2d1fa
Merge pull request #12832 from maikypedia/maikypedia/pg-sqli
...
Ruby: Add SQL Injection Sinks
2023-05-26 11:36:17 +01:00
Asger F
1c7f6dc32e
Ruby: add meta-query for calls to summarized callables
2023-05-26 11:34:23 +02:00
Alex Ford
609319da20
ruby: update TaintStep.ql test output
2023-05-25 17:53:01 +01:00
Asger F
9e8cef5e1b
Ruby: fix type-tracking flow-through for new->initialize calls
2023-05-25 15:03:38 +02:00
Asger F
93678e5d36
Ruby: fix name of super calls in singleton methods
2023-05-25 15:03:34 +02:00
Sim4n6
52dd247a81
Removed redundant cast
2023-05-25 11:55:13 +01:00
Sim4n6
09c97ce0da
Added one more example to the qhelp
2023-05-25 09:41:22 +01:00
Sim4n6
7d68f6afc9
added ActiveSupport::Multibyte::Chars normalize() sink
2023-05-25 09:21:55 +01:00
Sim4n6
d772bb213a
Added three more Unicode Normalization sinks
2023-05-25 03:10:00 +01:00
Maiky
40450a2792
typo
2023-05-24 17:02:48 +02:00
Tom Hvitved
05f3934042
Merge pull request #13251 from hvitved/ruby/call-graph-self-param
...
Ruby: Include both `self` parameters and SSA definitions in call graph construction
2023-05-24 11:10:34 +02:00
Asger F
818753e922
Merge pull request #13265 from asgerf/rb/delete-name-clash
...
Ruby: fix some name clashes between summarized callables
2023-05-24 11:08:56 +02:00
Tom Hvitved
b486a4d52c
Merge pull request #13255 from hvitved/ruby/ssa-param-capture-input
...
Ruby: Include underlying SSA parameter definition in `localFlowSsaParamCaptureInput`
2023-05-24 10:40:54 +02:00
Asger F
8bd6f6c450
Ruby: change note
2023-05-24 10:22:22 +02:00
Asger F
6d1a4451fb
Ruby: update a test expectation
2023-05-24 10:15:51 +02:00
Maiky
27c1e47ece
Update ruby/ql/lib/change-notes/2023-05-06-pg.md
...
Co-authored-by: Jorge <46056498+jorgectf@users.noreply.github.com >
2023-05-24 01:44:51 +02:00
Maiky
8dca585207
Expected
2023-05-23 20:04:34 +02:00
Maiky
ad5355a04a
Pg Library, change note and Frameworks.qll
2023-05-23 19:49:03 +02:00
Arthur Baars
e33f3a6668
Merge pull request #13154 from aibaars/sync-dbscheme-py
...
JS/Ruby/QL/Python: sync dbscheme fragments
2023-05-23 19:14:29 +02:00
Sim4n6
90c174de4e
Updated the .expected file accordingly
2023-05-23 17:36:50 +01:00
Asger F
0592c8ba99
Ruby: avoid name clash for "assoc" summary
2023-05-23 17:34:19 +02:00
Asger F
50a7b21928
Ruby: fix a name clash for summaries called "delete"
2023-05-23 16:49:17 +02:00
Tom Hvitved
eaa84cb819
Ruby: Include underlying SSA parameter definition in localFlowSsaParamCaptureInput
2023-05-23 13:56:29 +02:00
Tom Hvitved
349de77474
Ruby: Include both self parameters and SSA definitions in call graph construction
2023-05-23 12:28:06 +02:00
Erik Krogh Kristensen
50cb5ea184
Merge pull request #13164 from erik-krogh/polyQhelp
...
ReDoS: add another example to the qhelp in poly-redos, showing how to just limit the length of the input
2023-05-23 09:25:15 +02:00
Arthur Baars
bec2b7fef9
QL/Ruby: update dbscheme stats
2023-05-22 19:37:58 +02:00
Arthur Baars
294cc930e6
Ruby: add upgrade/downgrade scripts
2023-05-22 19:37:51 +02:00
Arthur Baars
d2bc66e393
QL: switch to shared YAML extractor
2023-05-22 19:28:59 +02:00
Arthur Baars
6d7e95a142
QL/Ruby: included shared extractor code in cache key
2023-05-22 19:28:59 +02:00
Arthur Baars
9f83dd5c7a
Tree-sitter extractor: extract shared dbscheme fragments into 'prefix.dbscheme'
2023-05-22 19:28:51 +02:00
Tom Hvitved
20efe81f10
Update ruby/ql/lib/codeql/ruby/typetracking/TypeTrackerSpecific.qll
...
Co-authored-by: Asger F <asgerf@github.com >
2023-05-22 12:43:05 +02:00
Tom Hvitved
33be52f0b7
Ruby: Allow for flow out of callbacks passed to summarized methods in type tracking
2023-05-22 11:01:08 +02:00
erik-krogh
710b309142
apply suggestions from doc review
2023-05-21 22:18:48 +02:00
erik-krogh
10bf17c33e
Merge branch 'main' into polyQhelp
2023-05-21 22:17:06 +02:00
Tom Hvitved
128168a7e7
Ruby: Allow for flow through callbacks to summarized methods in type tracking
2023-05-21 20:51:45 +02:00
Sim4n6
97e8e0bd8e
Add String Manipulation Method Calls & CGI.escapeHTML() support
2023-05-21 11:52:29 +01:00
Sim4n6
f7f0564e36
added one more test
2023-05-20 18:00:27 +01:00
Sim4n6
0a0a6dde40
Replaced CGI.escapeHTML() with the html_escape()
2023-05-20 17:59:39 +01:00
Sim4n6
ad754f1385
use of all normalization forms without the ":" prefix
2023-05-20 17:59:08 +01:00
Sim4n6
f5ff50880c
Updated qhelp for the use of html_escape()
2023-05-20 17:58:24 +01:00
Sim4n6
cc3cc1faef
Merge branch 'ruby-UBV' of https://github.com/sim4n6/codeql-pun into ruby-UBV
2023-05-20 12:59:50 +01:00
Sim4n6
d11cb9195c
Use of CGI.escapeHTML() in test samples
2023-05-20 12:57:50 +01:00
Sim4n6
e345d7dca4
Update ruby/ql/src/experimental/cwe-176/examples/unicode_normalization.rb
...
Co-authored-by: Arthur Baars <aibaars@github.com >
2023-05-20 12:54:03 +01:00
Sim4n6
7cd1fd4bbf
CWE-179 and CWE-180 are included in metadata
2023-05-20 12:51:45 +01:00
Sim4n6
957023ec44
nfd and nfkd are considered
2023-05-20 12:51:24 +01:00