Package ghidra.app.nav
Class NavigationUtils
java.lang.Object
ghidra.app.nav.NavigationUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Navigatable
static Address[]
getExternalLinkageAddresses
(Program program, Address externalAddr) Locate all possible linkage addresses which correspond to the specified external address.static void
setSelection
(PluginTool tool, Navigatable navigatable, ProgramSelection selection)
-
Constructor Details
-
NavigationUtils
public NavigationUtils()
-
-
Method Details
-
getExternalLinkageAddresses
Locate all possible linkage addresses which correspond to the specified external address. This will correspond to either a generic reference type (DATA or EXTERNAL_REF) on a pointer or a thunk to the external location. Both pointers and thunk constructs are utilized to perform dynamic linking between programs and external libraries they reference. These linkage locations facilitate the function calls into any dynamically linked external program (i.e., library).- Parameters:
program
- the programexternalAddr
- external location address- Returns:
- array of possible linkage addresses found