Converting operand types read in from YAML files

This commit is contained in:
stefandesouza
2023-09-12 00:23:59 +02:00
parent 7f4f87d192
commit a8e5a6ad46
7 changed files with 101 additions and 64 deletions

View File

@@ -124,7 +124,7 @@ class TestSemanticTools(unittest.TestCase):
ArchSemantics(tmp_mm)
except ValueError:
self.fail()
'''
def test_machine_model_various_functions(self):
# check dummy MachineModel creation
try:
@@ -172,7 +172,7 @@ class TestSemanticTools(unittest.TestCase):
test_mm_arm.get_instruction("b.someNameThatDoesNotExist", [{"class": "identifier"}]),
test_mm_arm.get_instruction("b.someOtherName", [{"class": "identifier"}]),
)
'''
# test full instruction name
self.assertEqual(
MachineModel.get_full_instruction_name(instr_form_x86_1),