Class GoFuncType
java.lang.Object
ghidra.app.util.bin.format.golang.rtti.types.GoType
ghidra.app.util.bin.format.golang.rtti.types.GoFuncType
- All Implemented Interfaces:
StructureMarkup<GoType>
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.golang.rtti.types.GoType
context, programContext, typ
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
additionalMarkup
(MarkupSession session) Called to allow the implementor to perform custom markup of itself.boolean
discoverGoTypes
(Set<Long> discoveredTypes) getFuncPrototypeString
(String funcName) int
int
int
boolean
isVarArg()
Converts a golang RTTI type structure into a Ghidra data type.toString()
Methods inherited from class ghidra.app.util.bin.format.golang.rtti.types.GoType
getBaseType, getDebugId, getEndOfTypeInfo, getMethodListString, getNameString, getOffsetEndOfFullType, getSpecializedTypeClass, getStructureContext, getStructureName, getTypeDeclString, getUncommonType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ghidra.app.util.bin.format.golang.structmapping.StructureMarkup
getExternalInstancesToMarkup, getStructureLabel
-
Constructor Details
-
GoFuncType
public GoFuncType()
-
-
Method Details
-
isVarArg
public boolean isVarArg() -
getInCount
public int getInCount() -
getOutCount
public int getOutCount() -
getParamCount
public int getParamCount() -
getParamTypeAddrs
- Throws:
IOException
-
getParamTypes
- Throws:
IOException
-
additionalMarkup
Description copied from interface:StructureMarkup
Called to allow the implementor to perform custom markup of itself.- Specified by:
additionalMarkup
in interfaceStructureMarkup<GoType>
- Overrides:
additionalMarkup
in classGoType
- Parameters:
session
- state and methods to assist marking up the program- Throws:
IOException
- if error during markup
-
getFuncPrototypeString
- Throws:
IOException
-
recoverDataType
Description copied from class:GoType
Converts a golang RTTI type structure into a Ghidra data type.- Overrides:
recoverDataType
in classGoType
- Returns:
DataType
that represents the golang type- Throws:
IOException
- if error getting name of the type
-
discoverGoTypes
- Overrides:
discoverGoTypes
in classGoType
- Throws:
IOException
-
toString
-