Package ghidra.program.util
Class DummyListingAddressCorrelation
java.lang.Object
ghidra.program.util.DummyListingAddressCorrelation
- All Implemented Interfaces:
ListingAddressCorrelation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAddress
(Duo.Side side, Address otherSideAddress) Gets the address for the given side that matches the given address from the other side.getAddresses
(Duo.Side side) Gets the addresses that are part of the correlator for the given sidegetFunction
(Duo.Side side) Gets the function for the given side.getProgram
(Duo.Side side) Gets the program for the given side.
-
Constructor Details
-
DummyListingAddressCorrelation
public DummyListingAddressCorrelation()
-
-
Method Details
-
getProgram
Description copied from interface:ListingAddressCorrelation
Gets the program for the given side.- Specified by:
getProgram
in interfaceListingAddressCorrelation
- Parameters:
side
- LEFT or RIGHT- Returns:
- the program for the given side
-
getFunction
Description copied from interface:ListingAddressCorrelation
Gets the function for the given side. This will be null if the addresses are not function based.- Specified by:
getFunction
in interfaceListingAddressCorrelation
- Parameters:
side
- LEFT or RIGHT- Returns:
- the function for the given side or null if not function based
-
getAddresses
Description copied from interface:ListingAddressCorrelation
Gets the addresses that are part of the correlator for the given side- Specified by:
getAddresses
in interfaceListingAddressCorrelation
- Parameters:
side
- LEFT or RIGHT- Returns:
- the addresses that are part of the correlator for the given side
-
getAddress
Description copied from interface:ListingAddressCorrelation
Gets the address for the given side that matches the given address from the other side.- Specified by:
getAddress
in interfaceListingAddressCorrelation
- Parameters:
side
- the side to get an address forotherSideAddress
- the address from the other side to find a match for- Returns:
- the address for the given side that matches the given address from the other side.
-