Class GoTypeBridge
java.lang.Object
ghidra.app.util.bin.format.golang.rtti.types.GoType
ghidra.app.util.bin.format.golang.rtti.types.GoTypeBridge
- All Implemented Interfaces:
StructureMarkup<GoType>,StructureVerifier
A limited use wrapper/bridge between a GoType and a Ghidra DataType, this
wrapper only supports the
recoverDataType(GoTypeManager) call.-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.golang.rtti.types.GoType
context, programContext, typ, uncommonType -
Constructor Summary
ConstructorsConstructorDescriptionGoTypeBridge(GoType delegateGoType, DataType ghidraType, GoRttiMapper goBinary) GoTypeBridge(String delegateGoTypeName, DataType ghidraType, GoRttiMapper goBinary) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this type.Returns the package path of this type.recoverDataType(GoTypeManager goTypes) 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
additionalMarkup, discoverGoTypes, getBaseType, getDebugId, getEndOfTypeInfo, getFullyQualifiedName, getImplementsInterfaceString, getMethodInfoList, getMethodListString, getMethodPrototypeString, getMethodPrototypeString, getOffsetEndOfFullType, getSpecializedTypeClass, getStructureContext, getStructureLabel, getStructureName, getStructureNamespace, getSymbolName, getTypeDeclString, getTypeOffset, getUncommonType, isValidMethods 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
-
Constructor Details
-
GoTypeBridge
-
GoTypeBridge
-
-
Method Details
-
recoverDataType
Description copied from class:GoTypeConverts a golang RTTI type structure into a Ghidra data type.This default implementation just creates an opaque blob of the appropriate size
- Overrides:
recoverDataTypein classGoType- Parameters:
goTypes-GoTypeManager- Returns:
DataTypethat represents the golang type- Throws:
IOException- if error getting name of the type
-
getPackagePathString
Description copied from class:GoTypeReturns the package path of this type.- Overrides:
getPackagePathStringin classGoType- Returns:
- package path of this type
-
getName
Description copied from class:GoTypeReturns the name of this type. -
toString
-