Skip to content
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

Update Kernel.qll to include Object.send aliases #15203

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pwntester
Copy link
Contributor

Add public_send and __send__ as Code Injection sinks as proposed by @vcsjones

Add `public_send` and `__send__` as Code Injection sinks as proposed by @vcsjones
@pwntester pwntester requested a review from a team as a code owner December 28, 2023 18:09
@github-actions github-actions bot added the Ruby label Dec 28, 2023
@alexrford alexrford added the no-change-note-required This PR does not need a change note label Jan 2, 2024
Copy link
Contributor

@alexrford alexrford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just an autoformat suggestion to fix the compilation check.

@@ -43,7 +43,7 @@ module Kernel {
* ```
*/
private predicate isPublicKernelMethod(string method) {
method in ["class", "clone", "frozen?", "tap", "then", "yield_self", "send"]
method in ["class", "clone", "frozen?", "tap", "then", "yield_self", "send", "public_send", "__send__"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

autoformats as

Suggested change
method in ["class", "clone", "frozen?", "tap", "then", "yield_self", "send", "public_send", "__send__"]
method in [
"class", "clone", "frozen?", "tap", "then", "yield_self", "send", "public_send", "__send__"
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note Ruby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants