Class Symbol

java.lang.Object
com.ibm.dtfj.corereaders.Symbol

public class Symbol extends Object
Class to maintain a list of addresses and coverage extents and a symbolic name - then given an input address will convert this into a string showing offset from the symbol.
  • Field Details

    • knownSymbolsByName

      protected static HashMap knownSymbolsByName
    • symbolTree

      protected static TreeMap symbolTree
  • Constructor Details

    • Symbol

      public Symbol(String name, long address, int extent, int type, int bind)
  • Method Details

    • getSymbol

      public static Symbol getSymbol(String name)
    • getSymbolForAddress

      public static String getSymbolForAddress(long address)
    • getSymbolEnd

      public long getSymbolEnd()
      Returns:
      Returns the symbolEnd.
    • getSymbolName

      public String getSymbolName()
      Returns:
      Returns the symbolName.
    • getSymbolStart

      public long getSymbolStart()
      Returns:
      Returns the symbolStart.
    • getSymbolsIterator

      public static Iterator getSymbolsIterator()
    • getSymbolUsingValue

      public static Symbol getSymbolUsingValue(Long l)