Package ghidra.program.util
Class LinearDataAddressCorrelation
- java.lang.Object
-
- ghidra.program.util.LinearDataAddressCorrelation
-
- All Implemented Interfaces:
AddressCorrelation
public class LinearDataAddressCorrelation extends java.lang.Object implements AddressCorrelation
-
-
Constructor Summary
Constructors Constructor Description LinearDataAddressCorrelation(Data sourceData, Data destinationData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddressRange
getCorrelatedDestinationRange(Address sourceAddress, TaskMonitor monitor)
Returns the AddressRange of a set of addresses in the destination program that correlates to corresponding range in the source program.java.lang.String
getName()
Returns the name of the correlating algorithm.
-
-
-
Method Detail
-
getCorrelatedDestinationRange
public AddressRange getCorrelatedDestinationRange(Address sourceAddress, TaskMonitor monitor) throws CancelledException
Description copied from interface:AddressCorrelation
Returns the AddressRange of a set of addresses in the destination program that correlates to corresponding range in the source program.- Specified by:
getCorrelatedDestinationRange
in interfaceAddressCorrelation
- Parameters:
sourceAddress
- the source program address- Returns:
- the destination program address range, or null if the source program address maps to one that is "deleted" in the destination program
- Throws:
CancelledException
-
getName
public java.lang.String getName()
Description copied from interface:AddressCorrelation
Returns the name of the correlating algorithm.- Specified by:
getName
in interfaceAddressCorrelation
- Returns:
- the name of the correlating algorithm.
-
-