skip test where BN misses the function

This commit is contained in:
mr-tz
2024-12-03 11:09:38 +00:00
parent 54952feb07
commit 9ad3f06e1d

View File

@@ -40,6 +40,10 @@ except ImportError:
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)