mirror of
https://github.com/mandiant/capa.git
synced 2025-12-26 04:41:13 -08:00
update names
This commit is contained in:
@@ -416,7 +416,7 @@ def get_data_path_by_name(name) -> Path:
|
||||
/ "data"
|
||||
/ "dynamic"
|
||||
/ "vmray"
|
||||
/ "93b2d1840566f45fab674ebc79a9d19c88993bcb645e0357f3cb584d16e7c795_archive.zip"
|
||||
/ "93b2d1840566f45fab674ebc79a9d19c88993bcb645e0357f3cb584d16e7c795_min_archive.zip"
|
||||
)
|
||||
elif name.startswith("ea2876"):
|
||||
return CD / "data" / "ea2876e9175410b6f6719f80ee44b9553960758c7d0f7bed73c0fe9a78d8e669.dll_"
|
||||
|
||||
@@ -27,7 +27,7 @@ def get_binary_file_path():
|
||||
return str(CD / "data" / "9324d1a8ae37a36ae560c37448c9705a.exe_")
|
||||
|
||||
|
||||
def get_report_file_path():
|
||||
def get_cape_report_file_path():
|
||||
return str(
|
||||
CD
|
||||
/ "data"
|
||||
@@ -63,9 +63,10 @@ def get_rule_path():
|
||||
pytest.param("show-capabilities-by-function.py", [get_binary_file_path()]),
|
||||
pytest.param("show-features.py", [get_binary_file_path()]),
|
||||
pytest.param("show-features.py", ["-F", "0x407970", get_binary_file_path()]),
|
||||
pytest.param("show-features.py", ["-P", "MicrosoftEdgeUpdate.exe", get_report_file_path()]),
|
||||
pytest.param("show-features.py", ["-P", "MicrosoftEdgeUpdate.exe", get_cape_report_file_path()]),
|
||||
pytest.param("show-unused-features.py", [get_binary_file_path()]),
|
||||
pytest.param("capa-as-library.py", [get_binary_file_path()]),
|
||||
# not testing "minimize-vmray-results.py" as we don't currently upload full VMRay analysis archives
|
||||
],
|
||||
)
|
||||
def test_scripts(script, args):
|
||||
|
||||
Reference in New Issue
Block a user