Module SummaryComponent
Provides predicates for constructing summary components.
Import path
import codeql.ruby.dataflow.FlowSummaryPredicates
| block | Gets a summary component that represents a block argument. |
| elementAny | Gets a summary component that represents an element in a collection at either an unknown index or known index. This has the same semantics as |
| elementKnown | Gets a summary component that represents an element in a collection at a known index. |
| elementKnownOrUnknown | Gets a summary component that represents an element in a collection at a specific known index |
| elementLowerBound | Gets a summary component that represents an element in a collection at known integer index |
| elementLowerBoundOrUnknown | Gets a summary component that represents an element in a collection at known integer index |
| elementUnknown | Gets a summary component that represents an element in a collection at an unknown index. |
| receiver | Gets a summary component that represents a receiver. |
| return | Gets a summary component that represents the return value of a call. |
Aliases
| SyntheticGlobal | A synthetic global. This represents some form of global state, which summaries can read and write individually. |
| argument | Gets a summary component for an argument at position |
| content | Gets a summary component for content |
| parameter | Gets a summary component for a parameter at position |
| withContent | Gets a summary component where data must be stored in |
| withoutContent | Gets a summary component where data is not allowed to be stored in |