Sha256: dfc972d9164c8ceae55476dc6feefb69526e1843e2e066e98c4c165d108ee764

Contents?: true

Size: 1.89 KB

Versions: 18

Compression:

Stored size: 1.89 KB

Contents

# Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

module Contrast
  module Extension
    # Our top level Assess namespace in the Core Extension section of our
    # code. These patches are those that are invoked directly from a patched
    # Class.
    #
    # @deprecated This is one of our earliest designs and is not nearly as
    #   relevant given the move to C based patching and the lessons learned
    #   therein.
    #   Removing it requires a C refactor to handle the namespace.
    module Assess
      require 'contrast/agent/patching/policy/patcher'

      require 'contrast/utils/tag_util'

      # provider rules - have to come before policy
      require 'contrast/agent/assess/rule/provider'

      # tagging / dataflow
      require 'contrast/agent/assess/policy/policy_node'
      require 'contrast/agent/assess/policy/source_node'
      require 'contrast/agent/assess/policy/source_method'
      require 'contrast/agent/assess/policy/propagation_node'
      require 'contrast/agent/assess/policy/propagation_method'
      require 'contrast/agent/assess/policy/trigger_node'
      require 'contrast/agent/assess/policy/trigger_method'
      require 'contrast/agent/assess/policy/policy'
      require 'contrast/agent/assess/policy/patcher'

      # this needs to come first b/c array and others work on strings and
      # expect them to be trackable
      require 'contrast/extension/assess/string'

      require 'contrast/extension/assess/array'
      require 'contrast/extension/assess/erb'
      require 'contrast/extension/assess/eval_trigger'
      require 'contrast/extension/assess/fiber'
      require 'contrast/extension/assess/hash'
      require 'contrast/extension/assess/kernel'
      require 'contrast/extension/assess/regexp'
      require 'contrast/extension/assess/marshal'
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 lib/contrast/extension/assess.rb
contrast-agent-7.6.0 lib/contrast/extension/assess.rb
contrast-agent-7.5.0 lib/contrast/extension/assess.rb
contrast-agent-7.4.1 lib/contrast/extension/assess.rb
contrast-agent-7.4.0 lib/contrast/extension/assess.rb
contrast-agent-7.3.2 lib/contrast/extension/assess.rb
contrast-agent-7.3.1 lib/contrast/extension/assess.rb
contrast-agent-7.3.0 lib/contrast/extension/assess.rb
contrast-agent-7.2.0 lib/contrast/extension/assess.rb
contrast-agent-7.1.0 lib/contrast/extension/assess.rb
contrast-agent-7.0.0 lib/contrast/extension/assess.rb
contrast-agent-6.15.3 lib/contrast/extension/assess.rb
contrast-agent-6.15.2 lib/contrast/extension/assess.rb
contrast-agent-6.15.1 lib/contrast/extension/assess.rb
contrast-agent-6.15.0 lib/contrast/extension/assess.rb
contrast-agent-6.14.0 lib/contrast/extension/assess.rb
contrast-agent-6.13.0 lib/contrast/extension/assess.rb
contrast-agent-6.12.0 lib/contrast/extension/assess.rb