Package ghidra.app.services
Enum AnalyzerType
- java.lang.Object
-
- java.lang.Enum<AnalyzerType>
-
- ghidra.app.services.AnalyzerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnalyzerType>
public enum AnalyzerType extends java.lang.Enum<AnalyzerType>
AnalyzerType defines various types of analyzers that Ghidra provides. Analyzers get kicked off based on certain events or conditions, such as a function being defined at a location. Currently there are four types (although only three are used, Data really has no analyzers yet). BYTES - analyze anywhere defined bytes are present (block of memory added) INSTRUCTIONS - analyze anywhere instructions are defined FUNCTIONS - analyze where a function is defined FUNCTION-MODIFIERS - analyze functions whose modifiers have changed modifiers include: - FUNCTION_CHANGED_THUNK - FUNCTION_CHANGED_INLINE - FUNCTION_CHANGED_NORETURN - FUNCTION_CHANGED_CALL_FIXUP - FUNCTION_CHANGED_PURGE FUNCTION-SIGNATURES - analyze functions whose signatures have changed signature include: - FUNCTION_CHANGED_PARAMETERS - FUNCTION_CHANGED_RETURN DATA - analyze where data has been defined. An analyzer can be kicked off because something has caused a change to program, such as adding a function. They can also be kicked off because a specific area of the program has been requested to be analyzed by the user.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BYTE_ANALYZER
DATA_ANALYZER
FUNCTION_ANALYZER
FUNCTION_MODIFIERS_ANALYZER
FUNCTION_SIGNATURES_ANALYZER
INSTRUCTION_ANALYZER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
java.lang.String
getName()
Return the name of this AnalyzerType.java.lang.String
toString()
static AnalyzerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AnalyzerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BYTE_ANALYZER
public static final AnalyzerType BYTE_ANALYZER
-
INSTRUCTION_ANALYZER
public static final AnalyzerType INSTRUCTION_ANALYZER
-
FUNCTION_ANALYZER
public static final AnalyzerType FUNCTION_ANALYZER
-
FUNCTION_MODIFIERS_ANALYZER
public static final AnalyzerType FUNCTION_MODIFIERS_ANALYZER
-
FUNCTION_SIGNATURES_ANALYZER
public static final AnalyzerType FUNCTION_SIGNATURES_ANALYZER
-
DATA_ANALYZER
public static final AnalyzerType DATA_ANALYZER
-
-
Method Detail
-
values
public static AnalyzerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AnalyzerType c : AnalyzerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AnalyzerType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
Return the name of this AnalyzerType.
-
getDescription
public java.lang.String getDescription()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<AnalyzerType>
-
-