capa/tests
Willi Ballenthin 7a8a0acaa9 fix: remove dead except ValueError clause in capa2sarif.py so JSONDecodeError is caught correctly
json.JSONDecodeError is a subclass of ValueError, so the broader except ValueError
was shadowing the more specific handler, making it unreachable. Keep only the
specific except json.JSONDecodeError handler.
2026-05-08 17:58:07 +02:00
..
data@f41a1998b9 update submodules 2026-04-23 18:04:10 +03:00
conftest.py
fixtures.py fix: implement extract_function_loop in dnfile extractor 2026-05-08 17:58:07 +02:00
test_binexport_accessors.py fix: replace assert with guard for 2-operand ARM ADD/SUB instructions 2026-05-08 17:58:07 +02:00
test_binexport_features.py fix: add return after zero-offset yield in extract_insn_offset_features 2026-05-08 17:58:07 +02:00
test_binja_features.py fix: address Optional member access and type mismatch in tests (chunk 6) 2026-04-23 16:11:58 +03:00
test_capabilities.py fix: capabilities/common.py: if va: drops address 0x0 2026-04-23 18:04:10 +03:00
test_cape_features.py
test_cape_model.py fix: stop mutating call.api in cape thread.get_calls 2026-05-08 17:58:07 +02:00
test_dnfile_features.py fix: remove extract_file_format from FILE_HANDLERS in five extractors 2026-05-08 17:58:07 +02:00
test_dotnetfile_features.py
test_drakvuf_features.py
test_drakvuf_models.py fix: omit trailing ' -> ' suffix in syscall call names when no return value 2026-05-08 17:58:07 +02:00
test_dynamic_span_of_calls_scope.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
test_elffile_features.py
test_engine.py style: ruff format changed files 2026-04-23 18:04:10 +03:00
test_extractor_hashing.py
test_fmt.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00
test_freeze_dynamic.py fix: remove unused imports from test_freeze_dynamic.py 2026-05-08 17:58:07 +02:00
test_freeze_static.py style: ruff format changed files 2026-04-23 18:04:10 +03:00
test_function_id.py
test_ghidra_features.py
test_helpers.py fix: use integer division in get_printable_len for UTF-16 LE operands 2026-05-08 17:58:07 +02:00
test_idalib_features.py
test_loader_segfault.py loader: skip PE files with unrealistically large section virtual sizes (#2905) 2026-03-10 15:03:35 -06:00
test_main.py fix: correct test_json_meta loop to iterate list of function dicts and use correct serialized address format for matched_basic_blocks assertion 2026-05-08 17:58:07 +02:00
test_match.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
test_optimizer.py fix: optimizer doesn't recurse into And/Or/Some children 2026-04-23 18:04:10 +03:00
test_os_detection.py fix: extract_os yields duplicate/contradictory OS values 2026-04-23 18:04:10 +03:00
test_pefile_features.py
test_proto.py fix: remove unreachable StaticAnalysis assert in assert_meta and cover dynamic proto path 2026-05-08 17:58:07 +02:00
test_render.py style: ruff format changed files 2026-04-23 18:04:10 +03:00
test_result_document.py fix: correct capa/subscope-rule key in RuleMetadata.from_capa 2026-05-08 17:58:07 +02:00
test_rule_cache.py lint: replace black/isort/flake8 with ruff (#2992) 2026-04-07 12:10:41 -06:00
test_rules.py fix: Scopes.from_dict uses cls instead of self 2026-05-08 17:58:07 +02:00
test_rules_insn_scope.py fix: remove duplicate Rule.from_yaml call in test_scope_instruction_description 2026-05-08 17:58:07 +02:00
test_scripts.py fix: remove dead except ValueError clause in capa2sarif.py so JSONDecodeError is caught correctly 2026-05-08 17:58:07 +02:00
test_strings.py
test_viv_features.py
test_vmray_features.py vmray: extract number features for registry key handles (#2835) 2026-01-30 15:10:57 -07:00
test_vmray_model.py build(deps-dev): bump black from 25.12.0 to 26.3.0 (#2902) 2026-03-13 15:46:13 +01:00