Class ProgramLocationTranslator
java.lang.Object
ghidra.app.util.viewer.listingpanel.ProgramLocationTranslator
Class for converting a program location from one program to another
-
Constructor Summary
ConstructorDescriptionProgramLocationTranslator
(ListingAddressCorrelation correlator) Constructor given a correlator for translating addresses -
Method Summary
Modifier and TypeMethodDescriptiongetProgramLocation
(Duo.Side side, ProgramLocation otherSideLocation) Converts a program location from the other side to the given side.
-
Constructor Details
-
ProgramLocationTranslator
Constructor given a correlator for translating addresses- Parameters:
correlator
- converts address from one program to another
-
-
Method Details
-
getProgramLocation
Converts a program location from the other side to the given side.- Parameters:
side
- the side to get a location forotherSideLocation
- the location from the other side- Returns:
- a program location for the given side that matches the other given location
-