Interface ModuleMapProposal.ModuleMapEntry

All Superinterfaces:
MapEntry<TraceModule,Program>
Enclosing interface:
ModuleMapProposal

public static interface ModuleMapProposal.ModuleMapEntry extends MapEntry<TraceModule,Program>
  • Method Details

    • getModule

      TraceModule getModule()
      Get the module for this entry
      Returns:
      the module
    • getModuleName

      String getModuleName()
      Get the module name for this entry (may depend on the snap)
      Returns:
      the name
    • getModuleRange

      AddressRange getModuleRange()
      Get the address range of the module in the trace, as computed from the matched program's image size
      Returns:
      the module range
    • setProgram

      void setProgram(Program program)
      Set the matched program

      This is generally used in UIs to let the user tweak and reassign, if desired. This will also re-compute the module range based on the new program's image size.

      Parameters:
      program - the program
    • isMemorize

      boolean isMemorize()
      Check if the user would like to memorize this mapping for future traces
      Returns:
      true to memorize
    • setMemorize

      void setMemorize(boolean memorize)
      Set whether this mapping should be memorized for future traces
      Parameters:
      memorize - true to memorize