File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed
lib/codeql/ruby/frameworks
test/library-tests/frameworks/action_mailbox Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ module ActionMailbox {
1717 result = DataFlow:: getConstant ( "ActionMailbox" ) .getConstant ( "Base" ) .getADescendentModule ( )
1818 }
1919
20- /**
21- * A method in a mailbox which receives incoming mail.
22- */
23- class Process extends DataFlow:: MethodNode {
24- Process ( ) { this = controller ( ) .getAnInstanceMethod ( ) and this .getMethodName ( ) = "process" }
25- }
26-
2720 /**
2821 * A call to `mail` on the return value of
2922 * `ActionMailbox::Base#inbound_email`, or a direct call to
Original file line number Diff line number Diff line change 1- processMethods
2- | action_mailbox.rb:2:3:7:5 | process |
3- | action_mailbox.rb:15:5:17:7 | process |
41messageInstances
52| action_mailbox.rb:3:5:3:8 | call to mail |
63| action_mailbox.rb:4:5:4:8 | call to mail |
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ private import codeql.ruby.frameworks.ActionMailbox
22private import codeql.ruby.DataFlow
33private import codeql.ruby.dataflow.RemoteFlowSources
44
5- query predicate processMethods ( ActionMailbox:: Process p ) { any ( ) }
6-
75query predicate messageInstances ( ActionMailbox:: Mail c ) { any ( ) }
86
97query predicate remoteFlowSources ( RemoteFlowSource r ) { any ( ) }
You can’t perform that action at this time.
0 commit comments