cz::muni::stanse::threadchecker::CheckerSettings Class Reference
List of all members.
Detailed Description
Singleton-stringType Class which holds every useful data required during analysis.
- Author:
- Jan Kučera
Member Function Documentation
List<String> cz::muni::stanse::threadchecker::CheckerSettings::getStartFunctions |
( |
|
) |
[inline] |
void cz::muni::stanse::threadchecker::CheckerSettings::addOnStack |
( |
CFGHandle |
cfg |
) |
[inline] |
void cz::muni::stanse::threadchecker::CheckerSettings::removeFromOnStack |
( |
CFGHandle |
cfg |
) |
[inline] |
boolean cz::muni::stanse::threadchecker::CheckerSettings::isOnStack |
( |
CFGHandle |
cfg |
) |
[inline] |
boolean cz::muni::stanse::threadchecker::CheckerSettings::isGlobalAnalysisEnabled |
( |
|
) |
[inline] |
final void cz::muni::stanse::threadchecker::CheckerSettings::setInternals |
( |
final LazyInternalStructures |
internals |
) |
[inline] |
final String cz::muni::stanse::threadchecker::CheckerSettings::getFileName |
( |
final CFGHandle |
cfg |
) |
[inline] |
void cz::muni::stanse::threadchecker::CheckerSettings::setConfigFile |
( |
File |
file |
) |
throws DocumentException [inline, package] |
- Parameters:
-
| file | File containg user's settings |
- Exceptions:
-
| org.dom4j.DocumentException | when document contains wrong settings |
Document cz::muni::stanse::threadchecker::CheckerSettings::getConfigDocument |
( |
|
) |
[inline] |
void cz::muni::stanse::threadchecker::CheckerSettings::clearData |
( |
|
) |
[inline] |
Method removes all threads, CFGs, units. If global analysis is enabled function states are stored to cachedFunctions
CFGHandle cz::muni::stanse::threadchecker::CheckerSettings::getCFG |
( |
String |
funcName |
) |
[inline] |
Function returns CFG related with funcname.
- Parameters:
-
| funcName | String name of function which should be returned as CFG |
- Returns:
- CFG or null if funcName isn't in cfgs
void cz::muni::stanse::threadchecker::CheckerSettings::addAllCFGs |
( |
|
) |
[inline] |
Function picks all CFGs from unit and stores them by addCFG function
- Parameters:
-
| unit | Unit object representing C file with functions |
static CheckerSettings cz::muni::stanse::threadchecker::CheckerSettings::getInstance |
( |
|
) |
[inline, static] |
void cz::muni::stanse::threadchecker::CheckerSettings::addThread |
( |
ThreadInfo |
thread |
) |
[inline] |
Function inserts new thread into thread Map by its function name.
- Parameters:
-
ThreadInfo cz::muni::stanse::threadchecker::CheckerSettings::getThread |
( |
String |
name |
) |
[inline] |
Function tries to find thread which has function equal to name.
- Parameters:
-
| name | the name of function to find |
- Returns:
- Thread or null if thread with this function isn't in yet.
Collection<ThreadInfo> cz::muni::stanse::threadchecker::CheckerSettings::getThreads |
( |
|
) |
[inline] |
Set<String> cz::muni::stanse::threadchecker::CheckerSettings::getFunctionList |
( |
|
) |
[inline] |
Function cz::muni::stanse::threadchecker::CheckerSettings::getFunction |
( |
CFGHandle |
cfg |
) |
[inline] |
Function cz::muni::stanse::threadchecker::CheckerSettings::getFunction |
( |
String |
functionName |
) |
[inline] |
void cz::muni::stanse::threadchecker::CheckerSettings::addFunction |
( |
Function |
function, |
|
|
CFGHandle |
cfg | |
|
) |
| | [inline] |
Adds function to global Map of all functions.
- Parameters:
-
| function | Function to add |
| cfg | CFG of the function |
The documentation for this class was generated from the following file: