Package ghidra.program.model.data
Enum Class GenericCallingConvention
- All Implemented Interfaces:
Serializable
,Comparable<GenericCallingConvention>
,Constable
Deprecated.
GenericCallingConvention
identifies the generic calling convention
associated with a specific function definition. This can be used to help identify
the appropriate compiler-specific function prototype (i.e., calling convention).-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.The standard/default calling convention applies in which the stack is used to pass parametersDeprecated.A standard/default calling convention applies in which only registers are used to pass parametersDeprecated.A MS Windows specific calling convention applies in which the called-function is responsible for purging the stack.Deprecated.A C++ instance method calling convention appliesDeprecated.The calling convention has not been identifiedDeprecated.Similar to fastcall but extended vector registers are used -
Method Summary
Modifier and TypeMethodDescriptionstatic GenericCallingConvention
get
(int ordinal) Deprecated.Returns the GenericCallingConvention corresponding to the specified ordinal.Deprecated.static GenericCallingConvention
getGenericCallingConvention
(String callingConvention) Deprecated.Returns the GenericCallingConvention corresponding to the specified type string or unknown if name is not defined.toString()
Deprecated.static GenericCallingConvention
Deprecated.Returns the enum constant of this class with the specified name.static GenericCallingConvention[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
unknown
Deprecated.The calling convention has not been identified -
stdcall
Deprecated.A MS Windows specific calling convention applies in which the called-function is responsible for purging the stack. -
cdecl
Deprecated.The standard/default calling convention applies in which the stack is used to pass parameters -
fastcall
Deprecated.A standard/default calling convention applies in which only registers are used to pass parameters -
thiscall
Deprecated.A C++ instance method calling convention applies -
vectorcall
Deprecated.Similar to fastcall but extended vector registers are used
-
-
Method Details
-
values
Deprecated.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
Deprecated.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
-
getDeclarationName
Deprecated. -
toString
Deprecated.- Overrides:
toString
in classEnum<GenericCallingConvention>
-
getGenericCallingConvention
Deprecated.Returns the GenericCallingConvention corresponding to the specified type string or unknown if name is not defined.- Parameters:
callingConvention
- calling convention declaration name (e.g., "__stdcall")- Returns:
- GenericCallingConvention or
unknown
if not found.
-
get
Deprecated.Returns the GenericCallingConvention corresponding to the specified ordinal.- Parameters:
ordinal
- generic calling convention ordinal- Returns:
- GenericCallingConvention
-
CompilerSpec
provides constants for those included in this enumeration and other setter/getter methods exist for using the string form.