Package ghidra.program.database
Class IntRangeMapDB
java.lang.Object
ghidra.program.database.IntRangeMapDB
- All Implemented Interfaces:
IntRangeMap
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clearAll()
void
clearValue
(Address startAddr, Address endAddr) void
clearValue
(AddressSetView addresses) static IntRangeMapDB
createPropertyMap
(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) void
delete()
getAddressSet
(int value) static IntRangeMapDB
getPropertyMap
(ProgramDB program, String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) void
moveAddressRange
(Address fromAddr, Address toAddr, long length, TaskMonitor monitor) Move the address range to a new starting address.void
void
setValue
(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:
setValue
in interfaceIntRangeMap
-
setValue
- Specified by:
setValue
in interfaceIntRangeMap
-
clearAll
public void clearAll()- Specified by:
clearAll
in interfaceIntRangeMap
-
clearValue
- Specified by:
clearValue
in interfaceIntRangeMap
-
clearValue
- Specified by:
clearValue
in interfaceIntRangeMap
-
getValue
- Specified by:
getValue
in interfaceIntRangeMap
-
getAddressSet
- Specified by:
getAddressSet
in interfaceIntRangeMap
-
getAddressSet
- Specified by:
getAddressSet
in 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:
moveAddressRange
in interfaceIntRangeMap
- Parameters:
fromAddr
- move from addresstoAddr
- move to addresslength
- number of address to movemonitor
-- Throws:
CancelledException
-