DataTypeManagerDB

Package: ghidra.program.database.data
Type: class

12.0_PUBLIC

addedmethod: remove
boolean remove(ghidra.program.model.data.DataType dataType)
removedmethod: remove
boolean remove(ghidra.program.model.data.DataType dataType, ghidra.util.task.TaskMonitor monitor)

11.2_PUBLIC

addedmethod: getChildIds
java.util.Set<java.lang.Long> getChildIds(long parentID)
addedmethod: hasParent
boolean hasParent(long childID)
addedmethod: notifyRestored
void notifyRestored()

11.1_PUBLIC

addedmethod: addDataTypeToReplace
void addDataTypeToReplace(ghidra.program.model.data.DataType oldDataType, ghidra.program.model.data.DataType replacementDataType)
addedmethod: dedupeAllConflicts
void dedupeAllConflicts(ghidra.util.task.TaskMonitor monitor) throws CancelledException
addedmethod: dedupeConflicts
boolean dedupeConflicts(ghidra.program.model.data.DataType dataType)
addedmethod: getUnusedConflictName
java.lang.String getUnusedConflictName(ghidra.program.model.data.CategoryPath path, ghidra.program.model.data.DataType dt)
addedmethod: handleDataOrganizationChange
void handleDataOrganizationChange(ghidra.framework.data.OpenMode openMode, ghidra.util.task.TaskMonitor monitor) throws IOException, LanguageVersionException, CancelledException
addedmethod: initializeOtherAdapters
void initializeOtherAdapters(ghidra.framework.data.OpenMode openMode, ghidra.util.task.TaskMonitor monitor) throws CancelledException, IOException, VersionException
removedmethod: getUnusedConflictName
java.lang.String getUnusedConflictName(ghidra.program.model.data.CategoryPath path, java.lang.String name)
removedmethod: handleDataOrganizationChange
void handleDataOrganizationChange(int openMode, ghidra.util.task.TaskMonitor monitor) throws IOException, LanguageVersionException, CancelledException
removedmethod: initializeOtherAdapters
void initializeOtherAdapters(int openMode, ghidra.util.task.TaskMonitor monitor) throws CancelledException, IOException, VersionException
removedmethod: replaceDataTypeIDs
void replaceDataTypeIDs(long oldID, long newID)

11.0_PUBLIC

addedmethod: hasDataOrganizationChange
boolean hasDataOrganizationChange(boolean ifPreviouslyStored) throws IOException
removedmethod: hasDataOrganizationChange
boolean hasDataOrganizationChange() throws IOException

10.3.3_PUBLIC

addedfield: readOnlyMode
boolean readOnlyMode

10.3.1_PUBLIC

addedmethod: handleDataOrganizationChange
void handleDataOrganizationChange(int openMode, ghidra.util.task.TaskMonitor monitor) throws IOException, LanguageVersionException, CancelledException
addedmethod: hasDataOrganizationChange
boolean hasDataOrganizationChange() throws IOException

10.3_PUBLIC

addedfield: DEFAULT_CALLING_CONVENTION_ID
static byte DEFAULT_CALLING_CONVENTION_ID
addedmethod: doSourceArchiveUpdates
void doSourceArchiveUpdates(ghidra.util.task.TaskMonitor monitor) throws CancelledException
addedmethod: getAddressMap
ghidra.program.database.map.AddressMap getAddressMap()
addedmethod: getAllFunctionDefinitions
java.util.Iterator<ghidra.program.model.data.FunctionDefinition> getAllFunctionDefinitions()
addedmethod: getCallingConvention
ghidra.program.model.lang.PrototypeModel getCallingConvention(java.lang.String name)
addedmethod: getCallingConventionID
byte getCallingConventionID(java.lang.String name, boolean restrictive) throws InvalidInputException, IOException
addedmethod: getCallingConventionName
java.lang.String getCallingConventionName(byte id)
addedmethod: getDefaultCallingConvention
ghidra.program.model.lang.PrototypeModel getDefaultCallingConvention()
addedmethod: getDefinedCallingConventionNames
java.util.Collection<java.lang.String> getDefinedCallingConventionNames()
addedmethod: getKnownCallingConventionNames
java.util.Collection<java.lang.String> getKnownCallingConventionNames()
addedmethod: getProgramArchitecture
ghidra.program.model.lang.ProgramArchitecture getProgramArchitecture()
addedmethod: getProgramArchitectureSummary
static java.lang.String getProgramArchitectureSummary(ghidra.program.model.lang.LanguageID languageId, int languageVersion, ghidra.program.model.lang.CompilerSpecID compilerSpecId)
addedmethod: getProgramArchitectureSummary
java.lang.String getProgramArchitectureSummary()
addedmethod: getUnusedConflictName
java.lang.String getUnusedConflictName(ghidra.program.model.data.DataType dt)
addedmethod: getVariableStorageManager
ghidra.program.database.symbol.VariableStorageManager getVariableStorageManager()
addedmethod: setProgramArchitecture
void setProgramArchitecture(ghidra.program.model.lang.ProgramArchitecture programArchitecture, ghidra.program.database.symbol.VariableStorageManager variableStorageMgr, boolean store, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
addedfield: tablePrefix
java.lang.String tablePrefix
addedfield: UNKNOWN_CALLING_CONVENTION_ID
static byte UNKNOWN_CALLING_CONVENTION_ID
removedmethod: doSourceArchiveUpdates
void doSourceArchiveUpdates(ghidra.program.model.lang.CompilerSpec compilerSpec, ghidra.util.task.TaskMonitor monitor) throws CancelledException

10.2_PUBLIC

addedmethod: allowsDefaultBuiltInSettings
boolean allowsDefaultBuiltInSettings()
addedmethod: allowsDefaultComponentSettings
boolean allowsDefaultComponentSettings()
addedmethod: dataTypeSettingsChanged
void dataTypeSettingsChanged(ghidra.program.model.data.DataType dt)
addedmethod: getDataMap
ghidra.program.database.DBStringMapAdapter getDataMap(boolean createIfNeeded) throws IOException
addedmethod: initializeOtherAdapters
void initializeOtherAdapters(int openMode, ghidra.util.task.TaskMonitor monitor) throws CancelledException, IOException, VersionException
removedmethod: clearAllSettings
void clearAllSettings(ghidra.program.model.address.Address dataAddr)
removedmethod: clearSetting
boolean clearSetting(ghidra.program.model.address.Address dataAddr, java.lang.String name)
removedmethod: clearSettings
void clearSettings(ghidra.program.model.address.Address start, ghidra.program.model.address.Address end, ghidra.util.task.TaskMonitor monitor) throws CancelledException
removedmethod: deleteAddressRange
void deleteAddressRange(ghidra.program.model.address.Address startAddr, ghidra.program.model.address.Address endAddr, ghidra.util.task.TaskMonitor monitor) throws CancelledException
removedmethod: getByteSettingsValue
byte[] getByteSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name)
removedmethod: getLongSettingsValue
java.lang.Long getLongSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name)
removedmethod: getNames
java.lang.String[] getNames(ghidra.program.model.address.Address dataAddr)
removedmethod: getSettings
java.lang.Object getSettings(ghidra.program.model.address.Address dataAddr, java.lang.String name)
removedmethod: getStringSettingsValue
java.lang.String getStringSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name)
removedmethod: isEmptySetting
boolean isEmptySetting(ghidra.program.model.address.Address dataAddr)
removedmethod: moveAddressRange
void moveAddressRange(ghidra.program.model.address.Address fromAddr, ghidra.program.model.address.Address toAddr, long length, ghidra.util.task.TaskMonitor monitor) throws CancelledException
removedmethod: setByteSettingsValue
boolean setByteSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name, byte[] byteValue)
removedmethod: setLongSettingsValue
boolean setLongSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name, long value)
removedmethod: setSettings
boolean setSettings(ghidra.program.model.address.Address dataAddr, java.lang.String name, java.lang.Object value)
removedmethod: setStringSettingsValue
boolean setStringSettingsValue(ghidra.program.model.address.Address dataAddr, java.lang.String name, java.lang.String value)

10.1_PUBLIC

addedmethod: migrateOldFlexArrayComponentsIfRequired
void migrateOldFlexArrayComponentsIfRequired(ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException

10.0_PUBLIC

addedmethod: close
void close()
addedmethod: dataTypeChanged
void dataTypeChanged(ghidra.program.model.data.DataType dt, boolean isAutoChange)
addedmethod: dispose
void dispose()
addedmethod: isTransactionActive
boolean isTransactionActive()
removedmethod: dataTypeChanged
void dataTypeChanged(ghidra.program.model.data.DataType dt)

9.2_PUBLIC

addedmethod: associateDataTypeWithArchive
void associateDataTypeWithArchive(ghidra.program.model.data.DataType datatype, ghidra.program.model.data.SourceArchive archive)
addedmethod: fixupComposites
void fixupComposites(ghidra.util.task.TaskMonitor monitor) throws CancelledException
addedmethod: getDataType
ghidra.program.model.data.DataType getDataType(ghidra.program.model.data.SourceArchive sourceArchive, ghidra.util.UniversalID datatypeID)
addedmethod: getDataTypes
java.util.List<ghidra.program.model.data.DataType> getDataTypes(ghidra.program.model.data.SourceArchive sourceArchive)
addedmethod: removeSourceArchive
void removeSourceArchive(ghidra.program.model.data.SourceArchive sourceArchive)
addedmethod: replaceSourceArchive
void replaceSourceArchive(ghidra.program.model.data.SourceArchive oldSourceArchive, ghidra.program.model.data.SourceArchive newSourceArchive)
addedmethod: resolveSourceArchive
ghidra.program.model.data.SourceArchive resolveSourceArchive(ghidra.program.model.data.SourceArchive sourceArchive)
modifiedmethod: getLocalSourceArchive
return type: SourceArchive → SourceArchive
- ghidra.app.plugin.core.datamgr.archive.SourceArchive getLocalSourceArchive()
+ ghidra.program.model.data.SourceArchive getLocalSourceArchive()
modifiedmethod: getSourceArchive
return type: SourceArchive → SourceArchive
- ghidra.app.plugin.core.datamgr.archive.SourceArchive getSourceArchive(ghidra.util.UniversalID sourceID)
+ ghidra.program.model.data.SourceArchive getSourceArchive(ghidra.util.UniversalID sourceID)
modifiedmethod: getSourceArchive
return type: SourceArchive → SourceArchive
- ghidra.app.plugin.core.datamgr.archive.SourceArchive getSourceArchive(java.lang.String fileID)
+ ghidra.program.model.data.SourceArchive getSourceArchive(java.lang.String fileID)
modifiedmethod: getSourceArchives
return type: List → List
- java.util.List<ghidra.app.plugin.core.datamgr.archive.SourceArchive> getSourceArchives()
+ java.util.List<ghidra.program.model.data.SourceArchive> getSourceArchives()
removedmethod: associateDataTypeWithArchive
void associateDataTypeWithArchive(ghidra.program.model.data.DataType datatype, ghidra.app.plugin.core.datamgr.archive.SourceArchive archive)
removedmethod: getDataType
ghidra.program.model.data.DataType getDataType(ghidra.app.plugin.core.datamgr.archive.SourceArchive sourceArchive, ghidra.util.UniversalID datatypeID)
removedmethod: getDataTypes
java.util.List<ghidra.program.model.data.DataType> getDataTypes(ghidra.app.plugin.core.datamgr.archive.SourceArchive sourceArchive)
removedmethod: removeSourceArchive
void removeSourceArchive(ghidra.app.plugin.core.datamgr.archive.SourceArchive sourceArchive)
removedmethod: replaceSourceArchive
void replaceSourceArchive(ghidra.app.plugin.core.datamgr.archive.SourceArchive oldSourceArchive, ghidra.app.plugin.core.datamgr.archive.SourceArchive newSourceArchive)
removedmethod: resolveSourceArchive
ghidra.app.plugin.core.datamgr.archive.SourceArchive resolveSourceArchive(ghidra.app.plugin.core.datamgr.archive.SourceArchive sourceArchive)

9.0.2_PUBLIC

addedmethod: addDataTypeToDelete
void addDataTypeToDelete(long id)
addedmethod: categoryCreated
void categoryCreated(ghidra.program.model.data.Category cat)
addedmethod: categoryMoved
void categoryMoved(ghidra.program.model.data.CategoryPath oldPath, ghidra.program.model.data.Category category)
addedmethod: categoryRemoved
void categoryRemoved(ghidra.program.model.data.Category parent, java.lang.String name, long categoryID)
addedmethod: categoryRenamed
void categoryRenamed(ghidra.program.model.data.CategoryPath oldPath, ghidra.program.model.data.Category category)
addedfield: dataOrganization
ghidra.program.model.data.DataOrganization dataOrganization
addedmethod: dataTypeAdded
void dataTypeAdded(ghidra.program.model.data.DataType newDt, ghidra.program.model.data.DataType originalDataType)
addedmethod: dataTypeDeleted
void dataTypeDeleted(long deletedID, ghidra.program.model.data.DataTypePath deletedDataTypePath)
addedmethod: dataTypeMoved
void dataTypeMoved(ghidra.program.model.data.DataType dt, ghidra.program.model.data.DataTypePath oldDataTypePath, ghidra.program.model.data.DataTypePath newDataTypePath)
addedmethod: dataTypeNameChanged
void dataTypeNameChanged(ghidra.program.model.data.DataType dt, java.lang.String oldName)
addedmethod: dataTypeReplaced
void dataTypeReplaced(long existingDtID, ghidra.program.model.data.DataTypePath replacedDataTypePath, ghidra.program.model.data.DataType replacementDt)
addedfield: dbHandle
db.DBHandle dbHandle
addedfield: defaultListener
ghidra.program.model.data.DataTypeManagerChangeListenerHandler defaultListener
addedmethod: doSourceArchiveUpdates
void doSourceArchiveUpdates(ghidra.program.model.lang.CompilerSpec compilerSpec, ghidra.util.task.TaskMonitor monitor) throws CancelledException
addedmethod: favoritesChanged
void favoritesChanged(ghidra.program.model.data.DataType dataType, boolean isFavorite)
addedmethod: getDomainFileID
java.lang.String getDomainFileID()
addedmethod: getPath
java.lang.String getPath()
addedmethod: isCreatingDataType
boolean isCreatingDataType()
addedmethod: replaceDataTypeIDs
void replaceDataTypeIDs(long oldID, long newID)
addedfield: sourceArchiveAdapter
ghidra.program.database.data.SourceArchiveAdapter sourceArchiveAdapter
addedmethod: sourceArchiveAdded
void sourceArchiveAdded(ghidra.util.UniversalID sourceArchiveID)
addedfield: universalID
ghidra.util.UniversalID universalID

9.0.1_PUBLIC

introducedInitial version