Public Member Functions | |
TypeTable (CategorizationProvider categorizationProvider) | |
AbstractLocation | getTypeOf (CFGHandle cfg, String name) |
AbstractLocation | getTypeOf (String name) |
AbstractLocation | getTypeOf (CFGHandle cfg) |
void | addFunction (CFGHandle handle, List< String > paramNames) |
Set< Pair< CFGHandle, String > > | getPointsToSetOf (CFGHandle cfg, String id) |
void | notifyAbstractLocationsJoined (AbstractLocation oldClass, AbstractLocation newClass) |
void | toDotFile () |
cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::TypeTable | ( | CategorizationProvider | categorizationProvider | ) | [inline] |
AbstractLocation cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::getTypeOf | ( | CFGHandle | cfg, | |
String | name | |||
) | [inline] |
Gets the type of specified symbol. If the type doesn't exist, it will be created.
cfg | ||
name |
AbstractLocation cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::getTypeOf | ( | String | name | ) | [inline] |
Gets the type associated with specified global symbol.
name |
AbstractLocation cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::getTypeOf | ( | CFGHandle | cfg | ) | [inline] |
Gets the type associated with specified function.
cfg |
void cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::addFunction | ( | CFGHandle | handle, | |
List< String > | paramNames | |||
) | [inline] |
Adds a new function to the type table.
handle | ||
paramNames |
Set<Pair<CFGHandle, String> > cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::getPointsToSetOf | ( | CFGHandle | cfg, | |
String | id | |||
) | [inline] |
Gets a set of symbols to which specified symbol points to.
cfg | ||
id |
void cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::notifyAbstractLocationsJoined | ( | AbstractLocation | oldClass, | |
AbstractLocation | newClass | |||
) | [inline] |
Called when the abstract location this class points to has been joined with a new class. Implementers should replace all stored references to oldClass by newClass.
oldClass | ||
newClass |
Implements cz::muni::stanse::pointeranalyzer::shapirohorwitz::AbstractLocationJoinListener.
void cz::muni::stanse::pointeranalyzer::shapirohorwitz::TypeTable::toDotFile | ( | ) | [inline] |
Converts the type table and points-to relationships in it to a DOT file viewable with GraphViz.