- 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 Summary
Fields Modifier and Type Field Description protected static HashMapknownSymbolsByNameprotected static TreeMapsymbolTree
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SymbolgetSymbol(String name)longgetSymbolEnd()static StringgetSymbolForAddress(long address)StringgetSymbolName()static IteratorgetSymbolsIterator()longgetSymbolStart()static SymbolgetSymbolUsingValue(Long l)
-
-
-
Constructor Detail
-
Symbol
public Symbol(String name, long address, int extent, int type, int bind)
-
-
Method Detail
-
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()
-
-