Package ghidra.app.nav

# Class NavigationUtils

java.lang.Object
ghidra.app.nav.NavigationUtils

public class NavigationUtils extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NavigationUtils()`

- ## Method Summary

  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)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### NavigationUtils

    public NavigationUtils()

- ## Method Details

  - ### 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 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 program
      `externalAddr` - external location address
    Returns:
      array of possible linkage addresses found