Package ghidra.program.model.util
Interface AddressSetPropertyMap
-
- All Known Implementing Classes:
AddressSetPropertyMapDB
public interface AddressSetPropertyMapDefines methods to mark ranges in a property map.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Address start, Address end)Add the address range to the property map.voidadd(AddressSet addressSet)Add the address set to the property map.voidclear()Clear the property map.booleancontains(Address addr)Return whether the property map contains the given address.AddressIteratorgetAddresses()Return an address iterator over the property map.AddressRangeIteratorgetAddressRanges()Return an address range iterator over the property map.AddressSetgetAddressSet()Return the address set for the property map.voidremove(Address start, Address end)Remove the address range from the property map.voidremove(AddressSet addressSet)Remove the address set from the property map.voidset(AddressSet addressSet)Clear the property map and set it with the given address set.
-
-
-
Method Detail
-
add
void add(Address start, Address end)
Add the address range to the property map.- Parameters:
start- start of the rangeend- end of the range
-
add
void add(AddressSet addressSet)
Add the address set to the property map.- Parameters:
addressSet- address set to add
-
set
void set(AddressSet addressSet)
Clear the property map and set it with the given address set.- Parameters:
addressSet- address set to use
-
remove
void remove(Address start, Address end)
Remove the address range from the property map.- Parameters:
start- start of the rangeend- end of the range
-
remove
void remove(AddressSet addressSet)
Remove the address set from the property map.- Parameters:
addressSet- address set to remove
-
getAddressSet
AddressSet getAddressSet()
Return the address set for the property map.
-
getAddresses
AddressIterator getAddresses()
Return an address iterator over the property map.
-
getAddressRanges
AddressRangeIterator getAddressRanges()
Return an address range iterator over the property map.
-
clear
void clear()
Clear the property map.
-
contains
boolean contains(Address addr)
Return whether the property map contains the given address.- Parameters:
addr- address to check
-
-