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.StringTABLE_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearAll()voidclearValue(Address startAddr, Address endAddr)voidclearValue(AddressSetView addresses)static IntRangeMapDBcreatePropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock)voiddelete()AddressSetgetAddressSet()AddressSetgetAddressSet(int value)static IntRangeMapDBgetPropertyMap(ProgramDB program, java.lang.String mapName, ErrorHandler errHandler, AddressMap addrMap, Lock lock)java.lang.IntegergetValue(Address address)voidmoveAddressRange(Address fromAddr, Address toAddr, long length, TaskMonitor monitor)Move the address range to a new starting address.voidsetValue(Address start, Address end, int value)voidsetValue(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:
setValuein interfaceIntRangeMap
-
setValue
public void setValue(AddressSetView addresses, int value)
- Specified by:
setValuein interfaceIntRangeMap
-
clearAll
public void clearAll()
- Specified by:
clearAllin interfaceIntRangeMap
-
clearValue
public void clearValue(Address startAddr, Address endAddr)
- Specified by:
clearValuein interfaceIntRangeMap
-
clearValue
public void clearValue(AddressSetView addresses)
- Specified by:
clearValuein interfaceIntRangeMap
-
getValue
public java.lang.Integer getValue(Address address)
- Specified by:
getValuein interfaceIntRangeMap
-
getAddressSet
public AddressSet getAddressSet()
- Specified by:
getAddressSetin interfaceIntRangeMap
-
getAddressSet
public AddressSet getAddressSet(int value)
- 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
-
-