#include <frontend/FrontPentTest.h>
Definition at line 10 of file FrontPentTest.h.
Public Member Functions | |
int | countTestCases () const |
FrontPentTest (std::string name) | |
virtual void | registerTests (CppUnit::TestSuite *suite) |
void | setUp () |
void | tearDown () |
void | test1 () |
void | test2 () |
void | test3 () |
void | testBranch () |
void | testFindMain () |
|
Definition at line 14 of file FrontPentTest.h. |
|
Definition at line 46 of file FrontPentTest.cpp. |
|
Definition at line 38 of file FrontPentTest.cpp. References MYTEST, test1(), test2(), test3(), testBranch(), and testFindMain(). Referenced by main(). |
|
Definition at line 57 of file FrontPentTest.cpp. |
|
Definition at line 67 of file FrontPentTest.cpp. |
|
Definition at line 74 of file FrontPentTest.cpp. References addr(), FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), FrontEnd::getMainEntryPoint(), HELLO_PENT, BinaryFileFactory::Load(), MACHINE_PENTIUM, NO_ADDRESS, NULL, DecodeResult::numBytes, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 120 of file FrontPentTest.cpp. References FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), HELLO_PENT, BinaryFileFactory::Load(), MACHINE_PENTIUM, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 160 of file FrontPentTest.cpp. References FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), HELLO_PENT, BinaryFileFactory::Load(), MACHINE_PENTIUM, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 199 of file FrontPentTest.cpp. References BRANCH_PENT, FrontEnd::decodeInstruction(), BinaryFile::GetMachine(), BinaryFileFactory::Load(), MACHINE_PENTIUM, NULL, RTL::print(), and DecodeResult::rtl. Referenced by registerTests(). |
|
Definition at line 244 of file FrontPentTest.cpp. References addr(), BinaryFile::Close(), FEDORA2_TRUE, FEDORA3_TRUE, FrontEnd::getMainEntryPoint(), BinaryFileFactory::Load(), NULL, Prog::setFrontEnd(), SUSE_TRUE, and BinaryFileFactory::UnLoad(). Referenced by registerTests(). |