From 9ad3f06e1d13cb1615be88f6112d96dfbb333543 Mon Sep 17 00:00:00 2001 From: mr-tz Date: Tue, 3 Dec 2024 11:09:38 +0000 Subject: [PATCH] skip test where BN misses the function --- tests/test_binja_features.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_binja_features.py b/tests/test_binja_features.py index f57c3b50f..51f4df68e 100644 --- a/tests/test_binja_features.py +++ b/tests/test_binja_features.py @@ -40,6 +40,10 @@ indirect=["sample", "scope"], ) def test_binja_features(sample, scope, feature, expected): + # TODO(mr-tz): BinaryNinja does not recognize this function + # https://github.com/mandiant/capa/issues/2507 + if scope.__name__ == "function=0x14004B4F0": + pytest.xfail("BinaryNinja does not recognize this function") fixtures.do_test_feature_presence(fixtures.get_binja_extractor, sample, scope, feature, expected)