Class GoMapType
java.lang.Object
ghidra.app.util.bin.format.golang.rtti.types.GoType
ghidra.app.util.bin.format.golang.rtti.types.GoMapType
- All Implemented Interfaces:
StructureMarkup<GoType>
Golang type info about a specific map type.
See GoRttiMapper.getMapGoType()
or the "runtime.hmap" type for the definition of
a instance of a map variable in memory.
-
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 TypeMethodDescriptionboolean
discoverGoTypes
(Set<Long> discoveredTypes) getKey()
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, getEndOfTypeInfo, getMethodListString, getNameString, getOffsetEndOfFullType, getSpecializedTypeClass, getStructureContext, getStructureName, getTypeDeclString, getUncommonType, toString
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
-
GoMapType
public GoMapType()
-
-
Method Details
-
getKey
- Throws:
IOException
-
getElement
- Throws:
IOException
-
getBucket
- 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
-