CodeQL library for Ruby
codeql/ruby-all 0.8.15-dev (changelog, source)
Search

Module ImproperMemoizationQuery

Provides predicates for reasoning about improper memoization methods.

Import path

import codeql.ruby.security.ImproperMemoizationQuery

Predicates

isImproperMemoizationMethod

Holds if m is a memoization method with a parameter p which is not used in the memoization key. This can cause stale or incorrect values to be returned when the method is called with different arguments.