Class DeclaredParamProvider

java.lang.Object
pascal.taie.analysis.pta.core.solver.DeclaredParamProvider
All Implemented Interfaces:
ParamProvider

public class DeclaredParamProvider extends Object implements ParamProvider
This ParamProvider creates parameter objects of the declared types, and the objects pointed to by fields of parameter objects, as well as elements of array objects. This class ignores non-instantiable types, i.e., primitive types and abstract classes.
  • Constructor Details

    • DeclaredParamProvider

      public DeclaredParamProvider(JMethod method, HeapModel heapModel)
      Parameters:
      method - the entry method.
      heapModel - the model for generating mock objects.
    • DeclaredParamProvider

      public DeclaredParamProvider(JMethod method, HeapModel heapModel, int k)
      Parameters:
      method - the entry method.
      heapModel - the model for generating mock objects.
      k - level of field/array accesses. If this is not 0, the provider generates objects recursively along k field/array accesses.
  • Method Details