mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Ruby: Simplify ActionMailbox modeling
This commit is contained in:
@@ -7,7 +7,7 @@ messageInstances
|
||||
| action_mailbox.rb:6:5:6:10 | call to mail |
|
||||
| action_mailbox.rb:10:5:10:8 | call to mail |
|
||||
| action_mailbox.rb:16:9:16:12 | call to mail |
|
||||
remoteContent
|
||||
remoteFlowSources
|
||||
| action_mailbox.rb:3:5:3:13 | call to body |
|
||||
| action_mailbox.rb:4:5:4:11 | call to to |
|
||||
| action_mailbox.rb:6:5:6:13 | call to to |
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
private import codeql.ruby.frameworks.ActionMailbox
|
||||
private import codeql.ruby.DataFlow
|
||||
private import codeql.ruby.dataflow.RemoteFlowSources
|
||||
|
||||
query predicate processMethods(ActionMailbox::Process p) { any() }
|
||||
|
||||
query predicate messageInstances(ActionMailbox::Mail::Message c) { any() }
|
||||
query predicate messageInstances(ActionMailbox::Mail c) { any() }
|
||||
|
||||
query predicate remoteContent(ActionMailbox::Mail::RemoteContent r) { any() }
|
||||
query predicate remoteFlowSources(RemoteFlowSource r) { any() }
|
||||
|
||||
Reference in New Issue
Block a user