Package ghidra.program.util
Class ChangeManagerAdapter
java.lang.Object
ghidra.program.util.ChangeManagerAdapter
- All Implemented Interfaces:
ChangeManager
Empty implementation for a ChangeManager.
-
Field Summary
Fields inherited from interface ghidra.program.util.ChangeManager
DOCR_ADDRESS_SET_PROPERTY_MAP_ADDED, DOCR_ADDRESS_SET_PROPERTY_MAP_CHANGED, DOCR_ADDRESS_SET_PROPERTY_MAP_REMOVED, DOCR_BOOKMARK_ADDED, DOCR_BOOKMARK_CHANGED, DOCR_BOOKMARK_REMOVED, DOCR_BOOKMARK_TYPE_ADDED, DOCR_BOOKMARK_TYPE_REMOVED, DOCR_CATEGORY_ADDED, DOCR_CATEGORY_MOVED, DOCR_CATEGORY_REMOVED, DOCR_CATEGORY_RENAMED, DOCR_CODE_ADDED, DOCR_CODE_MOVED, DOCR_CODE_REMOVED, DOCR_CODE_REPLACED, DOCR_CODE_UNIT_PROPERTY_ALL_REMOVED, DOCR_CODE_UNIT_PROPERTY_CHANGED, DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED, DOCR_CODE_UNIT_USER_DATA_CHANGED, DOCR_COMPOSITE_ADDED, DOCR_COMPOSITE_REMOVED, DOCR_DATA_TYPE_ADDED, DOCR_DATA_TYPE_CHANGED, DOCR_DATA_TYPE_MOVED, DOCR_DATA_TYPE_REMOVED, DOCR_DATA_TYPE_RENAMED, DOCR_DATA_TYPE_REPLACED, DOCR_DATA_TYPE_SETTING_CHANGED, DOCR_EOL_COMMENT_CHANGED, DOCR_EQUATE_ADDED, DOCR_EQUATE_REFERENCE_ADDED, DOCR_EQUATE_REFERENCE_REMOVED, DOCR_EQUATE_REMOVED, DOCR_EQUATE_RENAMED, DOCR_EXTERNAL_ENTRY_POINT_ADDED, DOCR_EXTERNAL_ENTRY_POINT_REMOVED, DOCR_EXTERNAL_NAME_ADDED, DOCR_EXTERNAL_NAME_CHANGED, DOCR_EXTERNAL_NAME_REMOVED, DOCR_EXTERNAL_PATH_CHANGED, DOCR_EXTERNAL_REFERENCE_ADDED, DOCR_EXTERNAL_REFERENCE_REMOVED, DOCR_FALLTHROUGH_CHANGED, DOCR_FLOWOVERRIDE_CHANGED, DOCR_FRAGMENT_MOVED, DOCR_FUNCTION_ADDED, DOCR_FUNCTION_BODY_CHANGED, DOCR_FUNCTION_CHANGED, DOCR_FUNCTION_REMOVED, DOCR_FUNCTION_TAG_CHANGED, DOCR_FUNCTION_TAG_CREATED, DOCR_FUNCTION_TAG_DELETED, DOCR_GROUP_ADDED, DOCR_GROUP_ALIAS_CHANGED, DOCR_GROUP_COMMENT_CHANGED, DOCR_GROUP_REMOVED, DOCR_GROUP_RENAMED, DOCR_GROUP_REPARENTED, DOCR_IMAGE_BASE_CHANGED, DOCR_INT_ADDRESS_SET_PROPERTY_MAP_ADDED, DOCR_INT_ADDRESS_SET_PROPERTY_MAP_CHANGED, DOCR_INT_ADDRESS_SET_PROPERTY_MAP_REMOVED, DOCR_LANGUAGE_CHANGED, DOCR_LENGTH_OVERRIDE_CHANGED, DOCR_MEM_REF_PRIMARY_REMOVED, DOCR_MEM_REF_PRIMARY_SET, DOCR_MEM_REF_TYPE_CHANGED, DOCR_MEM_REFERENCE_ADDED, DOCR_MEM_REFERENCE_REMOVED, DOCR_MEMORY_BLOCK_ADDED, DOCR_MEMORY_BLOCK_CHANGED, DOCR_MEMORY_BLOCK_MOVED, DOCR_MEMORY_BLOCK_REMOVED, DOCR_MEMORY_BLOCK_SPLIT, DOCR_MEMORY_BLOCKS_JOINED, DOCR_MEMORY_BYTES_CHANGED, DOCR_MODULE_REORDERED, DOCR_OVERLAY_SPACE_ADDED, DOCR_OVERLAY_SPACE_REMOVED, DOCR_OVERLAY_SPACE_RENAMED, DOCR_PLATE_COMMENT_CHANGED, DOCR_POST_COMMENT_CHANGED, DOCR_PRE_COMMENT_CHANGED, DOCR_REGISTER_VALUES_CHANGED, DOCR_REPEATABLE_COMMENT_CHANGED, DOCR_SOURCE_ARCHIVE_ADDED, DOCR_SOURCE_ARCHIVE_CHANGED, DOCR_SYMBOL_ADDED, DOCR_SYMBOL_ADDRESS_CHANGED, DOCR_SYMBOL_ANCHORED_FLAG_CHANGED, DOCR_SYMBOL_ASSOCIATION_ADDED, DOCR_SYMBOL_ASSOCIATION_REMOVED, DOCR_SYMBOL_DATA_CHANGED, DOCR_SYMBOL_REMOVED, DOCR_SYMBOL_RENAMED, DOCR_SYMBOL_SCOPE_CHANGED, DOCR_SYMBOL_SET_AS_PRIMARY, DOCR_SYMBOL_SOURCE_CHANGED, DOCR_TREE_CREATED, DOCR_TREE_REMOVED, DOCR_TREE_RENAMED, DOCR_USER_DATA_CHANGED, DOCR_VARIABLE_REFERENCE_ADDED, DOCR_VARIABLE_REFERENCE_REMOVED, FUNCTION_CHANGED_CALL_FIXUP, FUNCTION_CHANGED_INLINE, FUNCTION_CHANGED_NORETURN, FUNCTION_CHANGED_PARAMETERS, FUNCTION_CHANGED_PURGE, FUNCTION_CHANGED_RETURN, FUNCTION_CHANGED_THUNK -
Constructor Summary
Constructors -
Method Summary
ChangeModifier and TypeMethodDescriptionNEWvoidsetChanged(ProgramEvent event, Address start, Address end, Object oldValue, Object newValue) Mark the state of a Program as having changed and generate the event of the specified type.NEWvoidsetChanged(ProgramEvent event, Object oldValue, Object newValue) Mark the state of a Program as having changed and generate the event of the specified type.NEWvoidsetObjChanged(ProgramEvent eventType, Address addr, Object affected, Object oldValue, Object newValue) Mark the state of a Program as having changed and generate the event of the specified type.NEWvoidsetObjChanged(ProgramEvent event, Object affected, Object oldValue, Object newValue) Mark the state of a Program as having changed and generate the event of the specified type.voidsetPropertyChanged(String propertyName, Address codeUnitAddr, Object oldValue, Object newValue) Mark the state of a Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_CHANGED event.voidsetPropertyRangeRemoved(String propertyName, Address start, Address end) Mark the state of the Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED event.voidsetRegisterValuesChanged(Register register, Address start, Address end) Notifies that register values have changed over the indicated address range.REMOVEDvoidsetChanged(int type, Address start, Address end, Object oldValue, Object newValue) RemovedREMOVEDvoidsetChanged(int type, Object oldValue, Object newValue) RemovedREMOVEDvoidsetObjChanged(int type, Address addr, Object affectedObj, Object oldValue, Object newValue) RemovedREMOVEDvoidsetObjChanged(int type, int subType, Address addr, Object affectedObj, Object oldValue, Object newValue) RemovedREMOVEDvoidsetObjChanged(int type, AddressSetView addrSet, Object affectedObj, Object oldValue, Object newValue) RemovedREMOVEDvoidsetObjChanged(int type, Object affectedObj, Object oldValue, Object newValue) RemovedREMOVEDvoidsetObjChanged(int type, int subType, Object affectedObj, Object oldValue, Object newValue) Removed
-
Constructor Details
-
ChangeManagerAdapter
public ChangeManagerAdapter()
-
-
Method Details
-
setPropertyChanged
public void setPropertyChanged(String propertyName, Address codeUnitAddr, Object oldValue, Object newValue) Description copied from interface:ChangeManagerMark the state of a Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_CHANGED event.- Specified by:
setPropertyChangedin interfaceChangeManager- Parameters:
propertyName- name of property for the range that changedcodeUnitAddr- address of the code unit with the property changeoldValue- old value for the propertynewValue- new value for the property
-
setPropertyRangeRemoved
Description copied from interface:ChangeManagerMark the state of the Program as having changed and generate the DOCR_CODE_UNIT_PROPERTY_RANGE_REMOVED event.- Specified by:
setPropertyRangeRemovedin interfaceChangeManager- Parameters:
propertyName- name of property for the range being removedstart- start address of the rangeend- end address of the range
-
setRegisterValuesChanged
Description copied from interface:ChangeManagerNotifies that register values have changed over the indicated address range.- Specified by:
setRegisterValuesChangedin interfaceChangeManager- Parameters:
register- register value which was modified (a value of null indicates all registers affected or unknown)start- the start address for the range where values changedend- the end address (inclusive) for the range where values changed
-
setChanged NEW
Description copied from interface:ChangeManagerMark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.- Specified by:
setChangedin interfaceChangeManager- Parameters:
event- the event typeoldValue- original value or an Object that is related to the eventnewValue- new value or an Object that is related to the the event
-
setChanged NEW
public void setChanged(ProgramEvent event, Address start, Address end, Object oldValue, Object newValue) Description copied from interface:ChangeManagerMark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.- Specified by:
setChangedin interfaceChangeManager- Parameters:
event- the event typestart- starting address that is affected by the eventend- ending address that is affected by the eventoldValue- original value or an Object that is related to the eventnewValue- new value or an Object that is related to the the event
-
setObjChanged NEW
Description copied from interface:ChangeManagerMark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.- Specified by:
setObjChangedin interfaceChangeManager- Parameters:
event- the event typeaffected- object that is the subject of the eventoldValue- original value or an Object that is related to the eventnewValue- new value or an Object that is related to the the event
-
setObjChanged NEW
public void setObjChanged(ProgramEvent eventType, Address addr, Object affected, Object oldValue, Object newValue) Description copied from interface:ChangeManagerMark the state of a Program as having changed and generate the event of the specified type. Any or all parameters may be null.- Specified by:
setObjChangedin interfaceChangeManager- Parameters:
eventType- the event typeaddr- program address affectedaffected- object that is the subject of the eventoldValue- original value or an Object that is related to the eventnewValue- new value or an Object that is related to the the event
-