Interface TracePlatformManager

All Known Implementing Classes:
DBTracePlatformManager

public interface TracePlatformManager
Allows the addition of "guest platforms" for disassembling in multiple languages.

TODO: Allow the placement of data units with alternative data organization.

  • Method Details

    • getHostPlatform

      TracePlatform getHostPlatform()
      Get a platform representing the trace's base language and compiler spec
      Returns:
      the host platform
    • getGuestPlatforms

      Collection<TraceGuestPlatform> getGuestPlatforms()
      Get all guest platforms
      Returns:
      the collection of platforms
    • addGuestPlatform

      TraceGuestPlatform addGuestPlatform(CompilerSpec compilerSpec)
      Add a guest platform
      Parameters:
      compilerSpec - the compiler spec, which cannot be the base compiler spec
      Returns:
      the new platform
    • getPlatform

      TracePlatform getPlatform(CompilerSpec compilerSpec)
      Get the platform for the given compiler spec
      Parameters:
      compilerSpec - the compiler spec
      Returns:
      the platform, if found, or null
    • getOrAddPlatform

      TracePlatform getOrAddPlatform(CompilerSpec compilerSpec)
      Get or add a platform for the given compiler spec
      Parameters:
      compilerSpec - the compiler spec
      Returns:
      the new or existing platform