Interface AnalysisFeatures


  • public interface AnalysisFeatures
    Boolean analysis properties for use in the AnalysisContext. These can be used to enable or disable various analysis features in the bytecode analysis framework.
    Author:
    David Hovemeyer
    • Field Detail

      • ACCURATE_EXCEPTIONS

        @AnalysisFeature
        static final int ACCURATE_EXCEPTIONS
        Determine (1) what exceptions can be thrown on exception edges, (2) which catch blocks are reachable, and (3) which exception edges carry only "implicit" runtime exceptions.
        See Also:
        Constant Field Values
      • CONSERVE_SPACE

        @AnalysisFeature
        static final int CONSERVE_SPACE
        A boolean flag which if set means that analyses should try to conserve space at the expense of precision.
        See Also:
        Constant Field Values
      • INTERATIVE_OPCODE_STACK_ANALYSIS

        @Deprecated
        @AnalysisFeature
        static final int INTERATIVE_OPCODE_STACK_ANALYSIS
        Deprecated.
        Perform interative opcode stack analysis: always enabled.
        See Also:
        Constant Field Values
      • TRACK_GUARANTEED_VALUE_DEREFS_IN_NULL_POINTER_ANALYSIS

        @AnalysisFeature
        static final int TRACK_GUARANTEED_VALUE_DEREFS_IN_NULL_POINTER_ANALYSIS
        In the null pointer analysis, track null values that are guaranteed to be dereferenced on some (non-implicit-exception) path.
        See Also:
        Constant Field Values
      • TRACK_VALUE_NUMBERS_IN_NULL_POINTER_ANALYSIS

        @AnalysisFeature
        static final int TRACK_VALUE_NUMBERS_IN_NULL_POINTER_ANALYSIS
        In the null pointer analysis, track value numbers that are known to be null. This allows us to not lose track of null values that are not currently in the stack frame but might be in a heap location where the value is recoverable by redundant load elimination or forward substitution.
        See Also:
        Constant Field Values
      • MERGE_SIMILAR_WARNINGS

        @AnalysisFeature
        static final int MERGE_SIMILAR_WARNINGS
        Merge similar warnings. If we are tracking warnings across versions, it is useful to merge all similar issues together. Otherwise, when we compare the warnings in two different versions, we will not be able to match them up correctly.
        See Also:
        Constant Field Values
      • NUM_BOOLEAN_ANALYSIS_PROPERTIES

        @Deprecated
        @AnalysisFeature
        static final int NUM_BOOLEAN_ANALYSIS_PROPERTIES
        Deprecated.
        - use Builder instead
        Number of boolean analysis properties reserved for the bytecode analysis framework. Clients of the framework may use property values >= this value.
        See Also:
        Constant Field Values