Class SwitchInformation.JumpTableInformation

java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.analyzer.SwitchInformation.JumpTableInformation
Enclosing class:
SwitchInformation

public static class SwitchInformation.JumpTableInformation extends Object
Details of a switch's jump table.
  • Constructor Details

    • JumpTableInformation

      public JumpTableInformation(long startAddress, int entrySize, boolean isSecondary)
      Create jump table information.
      Parameters:
      startAddress - start address of the jump table
      entrySize - size of a jump table entry, in bytes
      isSecondary - true for a secondary jump table
    • JumpTableInformation

      public JumpTableInformation(long startAddress, int entrySize)
      Create primary jump table information.
      Parameters:
      startAddress - start address of the jump table
      entrySize - size of a jump table entry, in bytes
  • Method Details

    • setEndAddress

      public void setEndAddress(long endAddress)
      Set the exclusive end address of the jump table.
      Parameters:
      endAddress - exclusive end address
    • getStartAddress

      public long getStartAddress()
      Get the jump table start address.
      Returns:
      start address
    • getEntrySize

      public int getEntrySize()
      Get the size of one jump table entry.
      Returns:
      entry size in bytes
    • getEndAddress

      public long getEndAddress()
      Get the exclusive end address of the jump table.
      Returns:
      exclusive end address
    • isSecondary

      public boolean isSecondary()
      Determine whether this is a secondary jump table.
      Returns:
      true for a secondary jump table