Class NavigationUtils

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

public class NavigationUtils extends Object
  • 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