Interface FieldOutputFunction<T>
- Type Parameters:
T
- type of the structure mapped class
public interface FieldOutputFunction<T>
A function that adds a field to a Ghidra structure using annotated field information
found in a Java class.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFieldToStructure
(StructureContext<T> context, Structure structure, FieldOutputInfo<T> fieldOutputInfo) Adds the specified field (infieldOutputInfo
) to the structure.
-
Method Details
-
addFieldToStructure
void addFieldToStructure(StructureContext<T> context, Structure structure, FieldOutputInfo<T> fieldOutputInfo) throws IOException Adds the specified field (infieldOutputInfo
) to the structure.- Parameters:
context
-StructureContext
structure
-Structure
data typefieldOutputInfo
-FieldOutputInfo
field info- Throws:
IOException
- if error
-