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 TypeMethodDescriptionvoidaddFieldToStructure(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-StructureContextstructure-Structuredata typefieldOutputInfo-FieldOutputInfofield info- Throws:
IOException- if error
-