#include <frontend/FrontSparcTest.h>
Definition at line 12 of file FrontSparcTest.h.
Public Member Functions | |
int | countTestCases () const |
FrontSparcTest (std::string name) | |
virtual void | registerTests (CppUnit::TestSuite *suite) |
void | setUp () |
void | tearDown () |
void | test1 () |
void | test2 () |
void | test3 () |
void | testBranch () |
void | testDelaySlot () |
|
Definition at line 16 of file FrontSparcTest.h. |
|
Definition at line 45 of file FrontSparcTest.cpp. |
|
Definition at line 37 of file FrontSparcTest.cpp. References MYTEST, test1(), test2(), test3(), testBranch(), and testDelaySlot(). |
|
Definition at line 56 of file FrontSparcTest.cpp. |
|
Definition at line 66 of file FrontSparcTest.cpp. |
|
Definition at line 73 of file FrontSparcTest.cpp. References addr(), FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), FrontEnd::getMainEntryPoint(), HELLO_SPARC, BinaryFileFactory::Load(), MACHINE_SPARC, NO_ADDRESS, NULL, DecodeResult::numBytes, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 142 of file FrontSparcTest.cpp. References FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), HELLO_SPARC, BinaryFileFactory::Load(), MACHINE_SPARC, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 189 of file FrontSparcTest.cpp. References FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), HELLO_SPARC, BinaryFileFactory::Load(), MACHINE_SPARC, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 254 of file FrontSparcTest.cpp. References BRANCH_SPARC, FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), BinaryFileFactory::Load(), MACHINE_SPARC, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 299 of file FrontSparcTest.cpp. References addr(), BRANCH_SPARC, Type::clearNamedTypes(), FrontEnd::decode(), dummy, UserProc::getCFG(), Cfg::getFirstBB(), BinaryFile::GetMachine(), FrontEnd::getMainEntryPoint(), Cfg::getNextBB(), BinaryFileFactory::Load(), MACHINE_SPARC, NO_ADDRESS, NULL, BasicBlock::print(), and FrontEnd::processProc(). Referenced by registerTests(). |