Class NavigationUtils

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

public class NavigationUtils extends Object
  • Constructor Details Link icon

    • NavigationUtils Link icon

      public NavigationUtils()
  • Method Details Link icon

    • getActiveNavigatable Link icon

      public static Navigatable getActiveNavigatable()
    • setSelection Link icon

      public static void setSelection(PluginTool tool, Navigatable navigatable, ProgramSelection selection)
    • getExternalLinkageAddresses Link icon

      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