From cacc069d5817ff8908e249ec6b9a1dc43c989edc Mon Sep 17 00:00:00 2001 From: KyleMiles Date: Mon, 18 Jul 2022 14:20:37 -0400 Subject: Fix `70788d0af07e507be9c3a90db8c1b5342e77bc75`: "Add unit test for Objective-C plugin"; Change case to match convention; Remove extra Mac folders/files --- suite/api_test.py | 10 +++++----- suite/binaries | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/suite/api_test.py b/suite/api_test.py index d9549682..a6081ecb 100644 --- a/suite/api_test.py +++ b/suite/api_test.py @@ -791,7 +791,7 @@ class TypeParserTest(unittest.TestCase): LIST_ENTRY * ForwardLink; LIST_ENTRY * BackLink; }; - + struct Test { long long Signature; LIST_ENTRY1 Link; @@ -3323,11 +3323,11 @@ class LowLevelILTests(TestWithBinaryView): self.do_il_expression_test(LowLevelILFunction.nop, prefix_args=[], llil_instruction_type=LowLevelILConst) """ - The function this method primarily uses has a docstring explaining it, but essentially, pass the function attribute, + The function this method primarily uses has a docstring explaining it, but essentially, pass the function attribute, args as a list, the class we should verify it matches, - however many consts you need to create and inject into the args, + however many consts you need to create and inject into the args, and then any args that come after the consts. - + It will verify it appends the proper ILInstruction subclass, then will return that ILInstruction, in the event you need to do any further testing. """ @@ -3429,7 +3429,7 @@ class LowLevelILTests(TestWithBinaryView): class TestObjectiveCPlugin(unittest.TestCase): def setUp(self): - with FileApparatus("Calculator_macOS12_arm64e") as path: + with FileApparatus("calculator_macOS12_arm64e") as path: bv = BinaryViewType.get_view_of_file_with_options( os.path.relpath(path), options={"workflows.enable": True, "workflows.functionWorkflow": "core.function.objectiveC"} diff --git a/suite/binaries b/suite/binaries index 6660aad8..51c213c3 160000 --- a/suite/binaries +++ b/suite/binaries @@ -1 +1 @@ -Subproject commit 6660aad8bb0c7810cdb535a2593c947196964384 +Subproject commit 51c213c395fa622793c262104b8319a55753b83b -- cgit v1.3.1