summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyleMiles <krm504@nyu.edu>2022-07-18 14:20:37 -0400
committerKyleMiles <krm504@nyu.edu>2022-07-18 14:49:09 -0400
commitcacc069d5817ff8908e249ec6b9a1dc43c989edc (patch)
treedeb334946b32ce048c3b12b9ebcd71084a4a3286
parent48b110f84dde41db725f6da814b2d662fef93a77 (diff)
Fix `70788d0af07e507be9c3a90db8c1b5342e77bc75`: "Add unit test for Objective-C plugin"; Change case to match convention; Remove extra Mac folders/files
-rw-r--r--suite/api_test.py10
m---------suite/binaries0
2 files changed, 5 insertions, 5 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
-Subproject 6660aad8bb0c7810cdb535a2593c94719696438
+Subproject 51c213c395fa622793c262104b8319a55753b83