Class x86AssemblyTest
- java.lang.Object
-
- generic.test.AbstractGTest
-
- generic.test.AbstractGenericTest
-
- ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
-
- ghidra.app.plugin.assembler.sleigh.x86AssemblyTest
-
public class x86AssemblyTest extends AbstractAssemblyTest
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
AbstractAssemblyTest.DisassemblyMismatchException
-
Nested classes/interfaces inherited from class generic.test.AbstractGenericTest
AbstractGenericTest.ExceptionHandlingRunner
-
-
Field Summary
-
Fields inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
DEFAULT_ADDR
-
Fields inherited from class generic.test.AbstractGenericTest
concurrentTestExceptionRule, DEFAULT_TEST_TOOL_NAME, ruleChain, TESTDATA_DIRECTORY_NAME, watchman
-
Fields inherited from class generic.test.AbstractGTest
BATCH_MODE, DEFAULT_WAIT_DELAY, DEFAULT_WAIT_TIMEOUT, DEFAULT_WINDOW_TIMEOUT, PARALLEL_MODE, PRIVATE_LONG_WAIT_TIMEOUT, testName
-
-
Constructor Summary
Constructors Constructor Description x86AssemblyTest()
-
Method Summary
-
Methods inherited from class ghidra.app.plugin.assembler.sleigh.AbstractAssemblyTest
assertAllSemanticErrors, assertAllSemanticErrors, assertAllSyntaxErrors, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, assertOneCompatRestExact, checkAllExact, checkAllSemanticErrs, checkAllSyntaxErrs, checkOneCompat, dbgPrintTrees, disassemble, dumpConstructorTree, formatWithCons, runTest, setUp, tearDown
-
Methods inherited from class generic.test.AbstractGenericTest
clickMouse, clickMouse, clickTableCell, createApplicationConfiguration, createApplicationLayout, createStackTraceForAllThreads, createTempDirectory, createTempFile, createTempFile, createTempFileForTest, createTempFileForTest, createTempFilePath, createTempFilePath, deleteMatchingTempFiles, deleteSimilarTempFiles, doubleClick, dragMouse, editCell, executeOnSwingWithoutBlocking, findAbstractButtonByName, findAbstractButtonByText, findButtonByIcon, findButtonByText, findComponent, findComponent, findComponentByName, findComponentByName, findComponentsByName, findOwnedWindows, findPathToText, findTestDataFile, findTreePathToText, fixupGUI, getAllWindows, getDebugFileDirectory, getInstanceField, getInstanceFieldByClassType, getLocalResourceFile, getTestDataDir, getTestDataDirectory, getTestDataFile, getText, hasTestFailed, initializeLayout, initializeSystemProperties, invokeConstructor, invokeInstanceMethod, invokeInstanceMethod, leftClick, loadTextResource, loadTextResource, middleClick, moveMouse, postEvent, pressButton, pressButton, pressButtonByName, pressButtonByName, pressButtonByText, pressButtonByText, printMemory, privateWaitForPostedSwingRunnables_SwingSafe, rightClick, runSwing, runSwing, runSwing, setComboBoxSelection, setInstanceField, setText, testFailed, toString, waitForPostedSwingRunnables, waitForSwing, waitForTasks, windowForComponent, yieldToSwing
-
Methods inherited from class generic.test.AbstractGTest
assertArraysEqualOrdered, assertArraysEqualUnordered, assertArraysEqualUnordered, assertContainsExactly, assertContainsExactly, assertListEqualOrdered, assertListEqualOrdered, assertListEqualsArrayOrdered, assertListEqualsArrayUnordered, assertListEqualUnordered, failWithException, getName, getRandomInt, getRandomInt, getRandomString, getRandomString, getTestDirectoryPath, sleep, waitFor, waitFor, waitFor, waitForCondition, waitForCondition, waitForConditionWithoutFailing, waitForValue, waitForValueWithoutFailing
-
-
-
-
Method Detail
-
getLanguageID
protected LanguageID getLanguageID()
Description copied from class:AbstractAssemblyTest
Get the ID of the language under test The test case will automatically attempt to obtain a suitable assembler before the first test is run.- Specified by:
getLanguageID
in classAbstractAssemblyTest
- Returns:
- the ID of the language
-
testAssemble_ADD_m0x12_RAXm_RBX
public void testAssemble_ADD_m0x12_RAXm_RBX()
-
testAssemble_ADD_m0x1234_RAXm_RBX
public void testAssemble_ADD_m0x1234_RAXm_RBX()
-
testAssemble_ADD_mRAX_0x1234m_RBX
public void testAssemble_ADD_mRAX_0x1234m_RBX()
-
testAssemble_ADD_mRAX_0x12m_RBX
public void testAssemble_ADD_mRAX_0x12m_RBX()
-
testAssemble_ADD_mRAX_127m_EBX
public void testAssemble_ADD_mRAX_127m_EBX()
-
testAssemble_ADD_mRAX_127m_RBX
public void testAssemble_ADD_mRAX_127m_RBX()
-
testAssemble_ADD_mRAX_128m_RBX
public void testAssemble_ADD_mRAX_128m_RBX()
-
testAssemble_ADD_mRAX_n0x12m_RBX
public void testAssemble_ADD_mRAX_n0x12m_RBX()
-
testAssemble_ADD_mRAX_nx0x12m_RBX
public void testAssemble_ADD_mRAX_nx0x12m_RBX()
-
testAssemble_ADD_mRAXm_RBX
public void testAssemble_ADD_mRAXm_RBX()
-
testAssemble_ADD_mRBXm_BL
public void testAssemble_ADD_mRBXm_BL()
-
testAssemble_ADD_mRDX_RSI__0x04m_EBX
public void testAssemble_ADD_mRDX_RSI__0x04m_EBX()
-
testAssemble_ADD_RAX_mRDI_RDX__0x08m
public void testAssemble_ADD_RAX_mRDI_RDX__0x08m()
-
testAssemble_ADD_RSP_0x8
public void testAssemble_ADD_RSP_0x8()
-
testAssemble_AND_EAX_0x80808080
public void testAssemble_AND_EAX_0x80808080()
-
testAssemble_AND_RSP_n0x10
public void testAssemble_AND_RSP_n0x10()
-
testAssemble_CMP_byte_ptr_m0x006dbeefm_0
public void testAssemble_CMP_byte_ptr_m0x006dbeefm_0()
-
testAssemble_CMP_byte_ptr_mRBPm_0x0
public void testAssemble_CMP_byte_ptr_mRBPm_0x0()
-
testAssemble_JG_0x00400047
public void testAssemble_JG_0x00400047()
-
testAssemble_JMP_0x34
public void testAssemble_JMP_0x34()
-
testAssemble_MOV_RAX_FSm0x28m
public void testAssemble_MOV_RAX_FSm0x28m()
-
testAssemble_MOV_RBX_mRSP_0x8m
public void testAssemble_MOV_RBX_mRSP_0x8m()
-
testAssemble_MOV_RCX_mR12m
public void testAssemble_MOV_RCX_mR12m()
-
testAssemble_MOV_mRBXm_R14W
public void testAssemble_MOV_mRBXm_R14W()
-
testAssemble_MOV_mRSP_n0x10m_RBX
public void testAssemble_MOV_mRSP_n0x10m_RBX()
-
testAssemble_NOP
public void testAssemble_NOP()
-
testAssemble_NOP_CS_mRAX_RAX__0x1m
public void testAssemble_NOP_CS_mRAX_RAX__0x1m()
-
testAssemble_PUSH_RAX
public void testAssemble_PUSH_RAX()
-
testAssemble_POP_RBX
public void testAssemble_POP_RBX()
-
testAssembly_SAR_RBX_1
public void testAssembly_SAR_RBX_1()
-
testAssembly_SAR_DL_1
public void testAssembly_SAR_DL_1()
-
testAssemble_SCASB_RDI
public void testAssemble_SCASB_RDI()
-
testAssemble_SCASB_REPE_RDI
public void testAssemble_SCASB_REPE_RDI()
-
testAssemble_SCASB_REPNE_RDI
public void testAssemble_SCASB_REPNE_RDI()
-
testAssembly_SHR_R13D_1
public void testAssembly_SHR_R13D_1()
-
testAssemble_SUB_RSP_0x8
public void testAssemble_SUB_RSP_0x8()
-
testAssemble_CVTSI2SD_XMM12_EDX
public void testAssemble_CVTSI2SD_XMM12_EDX()
-
testAssembly_CALL_0x0041bb80
public void testAssembly_CALL_0x0041bb80()
-
testAssembly_AND_mRBP_n0x8m_0xffff0000
public void testAssembly_AND_mRBP_n0x8m_0xffff0000()
-
testAssembly_AND_mRBP_n0x8m_0x80
public void testAssembly_AND_mRBP_n0x8m_0x80() throws AssemblySyntaxException, AddressOutOfBoundsException, InsufficientBytesException, UnknownInstructionException, AddressOverflowException, MemoryAccessException
-
testSuggest_ADD
public void testSuggest_ADD()
-
-