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 AddressRangegetCorrelatedDestinationRange(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.StringgetName()Returns the name of the correlating algorithm.
-
-
-
Method Detail
-
getCorrelatedDestinationRange
public AddressRange getCorrelatedDestinationRange(Address sourceAddress, TaskMonitor monitor) throws CancelledException
Description copied from interface:AddressCorrelationReturns the AddressRange of a set of addresses in the destination program that correlates to corresponding range in the source program.- Specified by:
getCorrelatedDestinationRangein 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:AddressCorrelationReturns the name of the correlating algorithm.- Specified by:
getNamein interfaceAddressCorrelation- Returns:
- the name of the correlating algorithm.
-
-