Package ghidra.program.database
Class IntRangeMapDB
- java.lang.Object
-
- ghidra.program.database.IntRangeMapDB
-
- All Implemented Interfaces:
IntRangeMap
public class IntRangeMapDB extends java.lang.Object implements IntRangeMap
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TABLE_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearAll()
void
clearValue(Address startAddr, Address endAddr)
void
clearValue(AddressSetView addresses)
static IntRangeMapDB
createPropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock)
void
delete()
AddressSet
getAddressSet()
AddressSet
getAddressSet(int value)
static IntRangeMapDB
getPropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock)
java.lang.Integer
getValue(Address address)
void
moveAddressRange(Address fromAddr, Address toAddr, long length, TaskMonitor monitor)
Move the address range to a new starting address.void
setValue(Address start, Address end, int value)
void
setValue(AddressSetView addresses, int value)
-
-
-
Field Detail
-
TABLE_PREFIX
public static final java.lang.String TABLE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPropertyMap
public static IntRangeMapDB getPropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock)
-
createPropertyMap
public static IntRangeMapDB createPropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock) throws DuplicateNameException
- Throws:
DuplicateNameException
-
delete
public void delete()
-
setValue
public void setValue(Address start, Address end, int value)
- Specified by:
setValue
in interfaceIntRangeMap
-
setValue
public void setValue(AddressSetView addresses, int value)
- Specified by:
setValue
in interfaceIntRangeMap
-
clearAll
public void clearAll()
- Specified by:
clearAll
in interfaceIntRangeMap
-
clearValue
public void clearValue(Address startAddr, Address endAddr)
- Specified by:
clearValue
in interfaceIntRangeMap
-
clearValue
public void clearValue(AddressSetView addresses)
- Specified by:
clearValue
in interfaceIntRangeMap
-
getValue
public java.lang.Integer getValue(Address address)
- Specified by:
getValue
in interfaceIntRangeMap
-
getAddressSet
public AddressSet getAddressSet()
- Specified by:
getAddressSet
in interfaceIntRangeMap
-
getAddressSet
public AddressSet getAddressSet(int value)
- 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
-
-