Class StructureMappingInfo<T>
java.lang.Object
ghidra.app.util.bin.format.golang.structmapping.StructureMappingInfo<T>
- Type Parameters:
T- the class that is being mapped into a structure
Contains immutable information about a structure mapped class needed to deserialize
a new object from the data found in a Ghidra program.
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignContextFieldValues(StructureContext<T> context) Initializes anyContextFieldfields in a new structure instance.createStructureDataType(StructureContext<T> context) static <T> StructureMappingInfo<T>ghidra.app.util.bin.format.golang.structmapping.StructureMappingInfo.ObjectInstanceCreator<T>static StringgetStructureDataTypeNameForClass(Class<?> targetClass) intvoidreadStructure(StructureContext<T> context) recoverStructureContext(T structureInstance)
-
Method Details
-
getStructureDataTypeNameForClass
-
fromClass
-
getDescription
-
getStructureDataType
-
getStructureName
-
getStructureLength
public int getStructureLength() -
getTargetClass
-
getInstanceCreator
public ghidra.app.util.bin.format.golang.structmapping.StructureMappingInfo.ObjectInstanceCreator<T> getInstanceCreator() -
getFields
-
getAfterMethods
-
readStructure
- Throws:
IOException
-
getMarkupFuncs
-
createStructureDataType
- Throws:
IOException
-
recoverStructureContext
- Throws:
IOException
-
assignContextFieldValues
Initializes anyContextFieldfields in a new structure instance.- Parameters:
context-- Throws:
IOException
-