Package ghidra.program.model.data
Interface FactoryDataType
-
- All Superinterfaces:
BuiltInDataType
,DataType
,ExtensionPoint
- All Known Implementing Classes:
ElfDataType
,FactoryStructureDataType
,GnuBuildIdSection
,GnuDebugLinkSection
,PeDataType
public interface FactoryDataType extends BuiltInDataType
A DataType class that creates data types dynamically should implement this interface. This prevents them being directly referred to by a data instance within the listing or within a composite (e.g., added to a composite using the structure editor). FactoryDataType's should never be parented (e.g., Pointer, Structure component, Typedef, etc.).
-
-
Field Summary
-
Fields inherited from interface ghidra.program.model.data.DataType
CONFLICT_SUFFIX, DEFAULT, NO_LAST_CHANGE_TIME, NO_SOURCE_SYNC_TIME, VOID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DataType
getDataType(MemBuffer buf)
Returns the appropriate DataType which corresponds to the specified memory location.default int
getLength()
All implementations must return a length of -1.-
Methods inherited from interface ghidra.program.model.data.BuiltInDataType
getCTypeDeclaration
-
Methods inherited from interface ghidra.program.model.data.DataType
addParent, clone, copy, dataTypeAlignmentChanged, dataTypeDeleted, dataTypeNameChanged, dataTypeReplaced, dataTypeSizeChanged, dependsOn, getAlignment, getCategoryPath, getDataOrganization, getDataTypeManager, getDataTypePath, getDefaultAbbreviatedLabelPrefix, getDefaultLabelPrefix, getDefaultLabelPrefix, getDefaultOffcutLabelPrefix, getDefaultSettings, getDescription, getDisplayName, getDocs, getLastChangeTime, getLastChangeTimeInSourceArchive, getMnemonic, getName, getParents, getPathName, getRepresentation, getSettingsDefinitions, getSourceArchive, getUniversalID, getValue, getValueClass, hasLanguageDependantLength, isDeleted, isEquivalent, isNotYetDefined, isZeroLength, removeParent, replaceWith, setCategoryPath, setDefaultSettings, setDescription, setLastChangeTime, setLastChangeTimeInSourceArchive, setName, setNameAndCategory, setSourceArchive
-
-