Class GccExceptionAnalyzer

  • All Implemented Interfaces:
    Analyzer, ExtensionPoint

    public class GccExceptionAnalyzer
    extends AbstractAnalyzer
    An analyzer for locating and marking up the GCC exception handling information.
    • Field Detail

      • OPTION_NAME_CREATE_TRY_CATCH_COMMENTS

        protected static final java.lang.String OPTION_NAME_CREATE_TRY_CATCH_COMMENTS
        See Also:
        Constant Field Values
    • Constructor Detail

      • GccExceptionAnalyzer

        public GccExceptionAnalyzer()
        Creates an analyzer for marking up the GCC exception handling information.
    • Method Detail

      • canAnalyze

        public boolean canAnalyze​(Program program)
        Description copied from interface: Analyzer
        Can this analyzer work on this program.
        Specified by:
        canAnalyze in interface Analyzer
        Overrides:
        canAnalyze in class AbstractAnalyzer
        Parameters:
        program - program to be analyzed
        Returns:
        true if this analyzer can analyze this program
      • added

        public boolean added​(Program program,
                             AddressSetView addedLocationAddresses,
                             TaskMonitor monitor,
                             MessageLog log)
                      throws CancelledException
        Description copied from interface: Analyzer
        Called when the requested information type has been added. (ie: function added.)
        Parameters:
        program - program to analyze
        addedLocationAddresses - AddressSet of locations that have been added
        monitor - monitor that indicates progress and indicates whether the user canceled the analysis
        log - a message log to record analysis information
        Returns:
        true if the analysis succeeded
        Throws:
        CancelledException
      • registerOptions

        public void registerOptions​(Options options,
                                    Program program)
        Description copied from interface: Analyzer
        Analyzers should register their options with associated default value, help content and description
        Specified by:
        registerOptions in interface Analyzer
        Overrides:
        registerOptions in class AbstractAnalyzer
        Parameters:
        options - the program options/property list that contains the options
        program - program to be analyzed
      • optionsChanged

        public void optionsChanged​(Options options,
                                   Program program)
        Description copied from interface: Analyzer
        Analyzers should initialize their options from the values in the given Options, providing appropriate default values.
        Specified by:
        optionsChanged in interface Analyzer
        Overrides:
        optionsChanged in class AbstractAnalyzer
        Parameters:
        options - the program options/property list that contains the options
        program - program to be analyzed