#include <db/CfgTest.h>
Definition at line 7 of file CfgTest.h.
Public Member Functions | |
CfgTest (std::string name) | |
int | countTestCases () const |
virtual void | registerTests (CppUnit::TestSuite *suite) |
void | setUp () |
void | tearDown () |
void | testDominators () |
void | testPlacePhi () |
void | testPlacePhi2 () |
void | testRenameVars () |
void | testSemiDominators () |
Protected Attributes | |
Cfg * | m_prog |
|
|
|
Definition at line 38 of file CfgTest.cpp. |
|
Definition at line 34 of file CfgTest.cpp. |
|
Definition at line 48 of file CfgTest.cpp. |
|
Definition at line 59 of file CfgTest.cpp. |
|
|
Definition at line 176 of file CfgTest.cpp. References Type::clearNamedTypes(), FrontEnd::decode(), DataFlow::dominators(), Prog::finishDecode(), FRONTIER_PENTIUM, DataFlow::getA_phi(), UserProc::getCFG(), UserProc::getDataFlow(), Prog::getProc(), BinaryFileFactory::Load(), opMemOf, opMinus, DataFlow::placePhiFunctions(), Location::regOf(), and Prog::setFrontEnd(). |
|
Definition at line 217 of file CfgTest.cpp. References Type::clearNamedTypes(), FrontEnd::decode(), DataFlow::dominators(), Prog::finishDecode(), DataFlow::getA_phi(), UserProc::getCFG(), UserProc::getDataFlow(), Prog::getProc(), IFTHEN_PENTIUM, BinaryFileFactory::Load(), opMemOf, opMinus, DataFlow::placePhiFunctions(), Location::regOf(), and Prog::setFrontEnd(). |
|
|
Definition at line 125 of file CfgTest.cpp. References addr(), Type::clearNamedTypes(), FrontEnd::decode(), DataFlow::dominators(), UserProc::getCFG(), UserProc::getDataFlow(), Cfg::getFirstBB(), BasicBlock::getLowAddr(), FrontEnd::getMainEntryPoint(), Cfg::getNextBB(), Prog::getProc(), BinaryFileFactory::Load(), NO_ADDRESS, SEMI_L, SEMI_PENTIUM, and Prog::setFrontEnd(). |
|
|