Package ghidra.program.database
Class IntRangeMapDB
java.lang.Object
ghidra.program.database.IntRangeMapDB
- All Implemented Interfaces:
IntRangeMap
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclearAll()voidclearValue(Address startAddr, Address endAddr) voidclearValue(AddressSetView addresses) static IntRangeMapDBcreatePropertyMap(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) voiddelete()getAddressSet(int value) static IntRangeMapDBgetPropertyMap(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) voidmoveAddressRange(Address fromAddr, Address toAddr, long length, TaskMonitor monitor) Move the address range to a new starting address.voidvoidsetValue(AddressSetView addresses, int value)
-
Field Details
-
TABLE_PREFIX
- See Also:
-
-
Method Details
-
getPropertyMap
public static IntRangeMapDB getPropertyMap(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) -
createPropertyMap
public static IntRangeMapDB createPropertyMap(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) throws DuplicateNameException - Throws:
DuplicateNameException
-
delete
public void delete() -
setValue
- Specified by:
setValuein interfaceIntRangeMap
-
setValue
- Specified by:
setValuein interfaceIntRangeMap
-
clearAll
public void clearAll()- Specified by:
clearAllin interfaceIntRangeMap
-
clearValue
- Specified by:
clearValuein interfaceIntRangeMap
-
clearValue
- Specified by:
clearValuein interfaceIntRangeMap
-
getValue
- Specified by:
getValuein interfaceIntRangeMap
-
getAddressSet
- Specified by:
getAddressSetin interfaceIntRangeMap
-
getAddressSet
- Specified by:
getAddressSetin interfaceIntRangeMap
-
moveAddressRange
public void moveAddressRange(Address fromAddr, Address toAddr, long length, TaskMonitor monitor) throws CancelledException Move the address range to a new starting address.- Specified by:
moveAddressRangein interfaceIntRangeMap- Parameters:
fromAddr- move from addresstoAddr- move to addresslength- number of address to movemonitor-- Throws:
CancelledException
-