Package ghidra.app.nav
Class NavigationUtils
- java.lang.Object
-
- ghidra.app.nav.NavigationUtils
-
public class NavigationUtils extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NavigationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Navigatable
getActiveNavigatable()
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)
-
-
-
Method Detail
-
getActiveNavigatable
public static Navigatable getActiveNavigatable()
-
setSelection
public static void setSelection(PluginTool tool, Navigatable navigatable, ProgramSelection selection)
-
getExternalLinkageAddresses
public static Address[] getExternalLinkageAddresses(Program program, Address externalAddr)
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 contructs 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
-externalAddr
- external location address- Returns:
- array of possible linkage addresses found
-
-