-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Ruby: overhaul API graphs #13496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Ruby: overhaul API graphs #13496
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
0110610
Ruby: overhaul API graphs
asgerf 5b05e72
Ruby: switch to local dataflow when dealing with Kernel/IO
asgerf 61cda97
Ruby: rename some call sites
asgerf 2ef010f
Ruby: update GraphQL model
asgerf b305c13
Ruby: update SQLite3 model
asgerf f8ae530
Ruby: update Twirp
asgerf 1ae4148
Ruby: Use new features in ActionMailbox model
asgerf fbfa319
Ruby: use new features in ActionMailer
asgerf bb3b973
Ruby: use new features in ActionController
asgerf 8bc4193
Ruby: minor overhaul of ActiveRecord model
asgerf e3a0449
Ruby: minor overhaul of ActiveResource model
asgerf ce0073b
Ruby: update StoredXSS test results
asgerf f392af2
Ruby: benign changes to SQLi tests (fixed FNs)
asgerf 8539db0
Ruby: Update ActiveDispatch due to change in toString
asgerf 0039cb1
Merge branch 'main' into rb/tracking-on-demand
asgerf ef9d910
Update ruby/ql/lib/codeql/ruby/ApiGraphs.qll
asgerf b61e823
Ruby: clarify qldoc for getADescendentModule
asgerf f6e2449
Update ruby/ql/lib/codeql/ruby/ApiGraphs.qll
asgerf 174ab25
Ruby: address some review comments
asgerf 67032b5
Ruby: add test for self.class call
asgerf f171c21
Ruby: remove forwarder for getADescendentModule
asgerf 6feda75
Ruby: preserve comment in SQLite3
asgerf dd86843
Ruby: add asCallable()
asgerf 423da55
Ruby: use asCallable() in Twirp model
asgerf 129e634
Ruby: expand Twirp test
asgerf 7af3d22
Ruby: simplify Twirp model
asgerf 2f12234
Ruby: add change note
asgerf 39789d4
Ruby: use a valid change note category
asgerf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| category: majorAnalysis | ||
| --- | ||
| * The API graph library (`codeql.ruby.ApiGraphs`) has been significantly improved, with better support for inheritance, | ||
| and data-flow nodes can now be converted to API nodes by calling `.track()` or `.backtrack()` on the node. | ||
| API graphs allow for efficient modelling of how a given value is used by the code base, or how values produced by the code base | ||
| are consumed by a library. See the documentation for `API::Node` for details and examples. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.