mirror of
https://github.com/mandiant/capa.git
synced 2026-02-04 19:12:01 -08:00
@@ -11,6 +11,7 @@ from fixtures import *
|
||||
from fixtures import parametrize
|
||||
|
||||
import capa.features.file
|
||||
import capa.features.insn
|
||||
|
||||
|
||||
@parametrize(
|
||||
@@ -22,6 +23,9 @@ def test_smda_features(sample, scope, feature, expected):
|
||||
if scope.__name__ == "file" and isinstance(feature, capa.features.file.FunctionName) and expected is True:
|
||||
pytest.xfail("SMDA has no function ID")
|
||||
|
||||
if "elf" in sample and isinstance(feature, capa.features.insn.API):
|
||||
pytest.xfail("SMDA has no ELF API extraction, see #725")
|
||||
|
||||
fixtures.do_test_feature_presence(fixtures.get_smda_extractor, sample, scope, feature, expected)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user