Class GoPlainType
java.lang.Object
ghidra.app.util.bin.format.golang.rtti.types.GoType
ghidra.app.util.bin.format.golang.rtti.types.GoPlainType
- All Implemented Interfaces:
StructureMarkup<GoType>,StructureReader<GoType>
WARNING: tricky code / class layout here!
To coerce java inheritance and structmapping features to match the layout of go rtti type structs, this class is constructed strangely.
-
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 TypeMethodDescriptionbooleandiscoverGoTypes(Set<Long> discoveredTypes) voidCalled after an instance has been created and its context has been initialized.Converts a golang RTTI type structure into a Ghidra data type.Methods inherited from class ghidra.app.util.bin.format.golang.rtti.types.GoType
additionalMarkup, getBaseType, getDebugId, getMethodListString, getOffsetEndOfFullType, getSpecializedTypeClass, getStructureContext, getStructureName, getTypeDeclString, getUncommonType, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ghidra.app.util.bin.format.golang.structmapping.StructureMarkup
getExternalInstancesToMarkup, getStructureLabel
-
Constructor Details
-
GoPlainType
public GoPlainType()
-
-
Method Details
-
readStructure
Description copied from interface:StructureReaderCalled after an instance has been created and its context has been initialized.- Specified by:
readStructurein interfaceStructureReader<GoType>- Throws:
IOException
-
recoverDataType
Description copied from class:GoTypeConverts a golang RTTI type structure into a Ghidra data type.- Overrides:
recoverDataTypein classGoType- Returns:
DataTypethat represents the golang type- Throws:
IOException
-
discoverGoTypes
- Overrides:
discoverGoTypesin classGoType- Throws:
IOException
-