Package ghidra.program.model.listing
Class FunctionSignatureImpl
- java.lang.Object
-
- ghidra.program.model.data.AbstractDataType
-
- ghidra.program.model.data.DataTypeImpl
-
- ghidra.program.model.data.GenericDataType
-
- ghidra.program.model.data.FunctionDefinitionDataType
-
- ghidra.program.model.listing.FunctionSignatureImpl
-
- All Implemented Interfaces:
DataType
,FunctionDefinition
,FunctionSignature
@Deprecated public class FunctionSignatureImpl extends FunctionDefinitionDataType
Deprecated.FunctionDefinitionDataType should be used for defining a function signatureImplementation of a Function Signature. All the information about a function that is portable from one program to another.
-
-
Field Summary
-
Fields inherited from class ghidra.program.model.data.DataTypeImpl
defaultSettings
-
Fields inherited from class ghidra.program.model.data.AbstractDataType
categoryPath, dataMgr, name
-
Fields inherited from interface ghidra.program.model.data.DataType
CONFLICT_SUFFIX, DEFAULT, NO_LAST_CHANGE_TIME, NO_SOURCE_SYNC_TIME, VOID
-
Fields inherited from interface ghidra.program.model.listing.FunctionSignature
VAR_ARGS_DISPLAY_STRING, VOID_PARAM_DISPLAY_STRING
-
-
Constructor Summary
Constructors Constructor Description FunctionSignatureImpl(Function function)
Deprecated.Create a Function Definition based on a Function.FunctionSignatureImpl(Function function, boolean formalSignature)
Deprecated.Create a Function Definition based on a FunctionFunctionSignatureImpl(FunctionSignature signature)
Deprecated.Creates new FunctionSignatureImpl based upon an existing function signature.FunctionSignatureImpl(java.lang.String name)
Deprecated.Creates new FunctionSignatureImpl with the given name, default return type and no parameters.
-
Method Summary
-
Methods inherited from class ghidra.program.model.data.FunctionDefinitionDataType
clone, copy, dataTypeDeleted, dataTypeNameChanged, dataTypeReplaced, dataTypeSizeChanged, dependsOn, getArguments, getComment, getDescription, getGenericCallingConvention, getLength, getMnemonic, getPrototypeString, getPrototypeString, getRepresentation, getReturnType, getValue, hasVarArgs, isEquivalent, isEquivalentSignature, replaceArgument, setArguments, setComment, setGenericCallingConvention, setReturnType, setVarArgs, toString
-
Methods inherited from class ghidra.program.model.data.GenericDataType
setCategoryPath, setName, setNameAndCategory
-
Methods inherited from class ghidra.program.model.data.DataTypeImpl
addParent, equals, getAlignment, getDefaultSettings, getLastChangeTime, getLastChangeTimeInSourceArchive, getParents, getPathName, getSettingsDefinitions, getSourceArchive, getUniversalID, getValueClass, hashCode, notifyAlignmentChanged, notifyDeleted, notifyNameChanged, notifyParents, notifyReplaced, notifySizeChanged, removeParent, replaceWith, setDefaultSettings, setDescription, setLastChangeTime, setLastChangeTimeInSourceArchive, setSourceArchive
-
Methods inherited from class ghidra.program.model.data.AbstractDataType
dataTypeAlignmentChanged, encodeRepresentation, encodeValue, getCategoryPath, getDataOrganization, getDataTypeManager, getDataTypePath, getDefaultAbbreviatedLabelPrefix, getDefaultLabelPrefix, getDefaultLabelPrefix, getDefaultOffcutLabelPrefix, getDisplayName, getDocs, getName, hasLanguageDependantLength, isDeleted, isEncodable, isNotYetDefined, isZeroLength
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ghidra.program.model.data.DataType
addParent, dataTypeAlignmentChanged, encodeRepresentation, encodeValue, getAlignment, getCategoryPath, getDataOrganization, getDataTypeManager, getDataTypePath, getDefaultAbbreviatedLabelPrefix, getDefaultLabelPrefix, getDefaultLabelPrefix, getDefaultOffcutLabelPrefix, getDefaultSettings, getDisplayName, getDocs, getLastChangeTime, getLastChangeTimeInSourceArchive, getName, getParents, getPathName, getSettingsDefinitions, getSourceArchive, getUniversalID, getValueClass, hasLanguageDependantLength, isDeleted, isEncodable, isNotYetDefined, isZeroLength, removeParent, replaceWith, setCategoryPath, setDefaultSettings, setDescription, setLastChangeTime, setLastChangeTimeInSourceArchive, setName, setNameAndCategory, setSourceArchive
-
Methods inherited from interface ghidra.program.model.listing.FunctionSignature
getName
-
-
-
-
Constructor Detail
-
FunctionSignatureImpl
public FunctionSignatureImpl(java.lang.String name)
Deprecated.Creates new FunctionSignatureImpl with the given name, default return type and no parameters.- Parameters:
name
- the name of the function
-
FunctionSignatureImpl
public FunctionSignatureImpl(FunctionSignature signature)
Deprecated.Creates new FunctionSignatureImpl based upon an existing function signature.- Parameters:
signature
- the signature of the function
-
FunctionSignatureImpl
public FunctionSignatureImpl(Function function)
Deprecated.Create a Function Definition based on a Function. The effective signature will be used where forced indirect and auto-params are reflected in the signature.- Parameters:
function
- the function to use to create a Function Signature.
-
FunctionSignatureImpl
public FunctionSignatureImpl(Function function, boolean formalSignature)
Deprecated.Create a Function Definition based on a Function- Parameters:
function
- the function to use to create a Function Signature.formalSignature
- if true only original raw types will be retained and auto-params discarded (e.g., this, __return_storage_ptr__, etc.). If false, the effective signature will be used where forced indirect and auto-params are reflected in the signature. This option has no affect if the specified function has custom storage enabled.
-
-