- 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 HashMap
knownSymbolsByName
protected static TreeMap
symbolTree
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Symbol
getSymbol(String name)
long
getSymbolEnd()
static String
getSymbolForAddress(long address)
String
getSymbolName()
static Iterator
getSymbolsIterator()
long
getSymbolStart()
static Symbol
getSymbolUsingValue(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()
-
-