Enum Class SymbolType
- All Implemented Interfaces:
Serializable
,Comparable<SymbolType>
,Constable
Enumeration of common types of symbols used in code objects.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInformative: code should be defined, but not necessarily the beginning of a function (symbol can be defined in the middle of a function)Data defined in another file.Routine defined in another file.Similar toFUNCTION
but with a degree of uncertainty: the symbol is likely to represent a routine, but it may not be. -
Method Summary
Modifier and TypeMethodDescriptionboolean
isExtern()
static SymbolType
Returns the enum constant of this class with the specified name.static SymbolType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
NOTYPE
-
FILE
-
SEGMENT
-
SECTION
-
OBJECT
-
VARIABLE
-
FUNCTION
-
PTROBJECT
-
PTRVARIABLE
-
PTRFUNCTION
-
FORWARDED_FUNCTION
-
EXTERN_FUNCTION
Routine defined in another file. Used only in object files (files processed by linkers, e.g. relocatable ELF). -
EXTERN_DATA
Data defined in another file. Used only in object files (files processed by linkers, e.g. relocatable ELF). -
CODE
Informative: code should be defined, but not necessarily the beginning of a function (symbol can be defined in the middle of a function) -
FUNCTION_MAYBE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
isExtern
public boolean isExtern()
-