fxapk 2.0.2__tar.gz → 2.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fxapk-2.0.2 → fxapk-2.0.4}/CHANGELOG.md +9 -0
- {fxapk-2.0.2/fxapk.egg-info → fxapk-2.0.4}/PKG-INFO +1 -1
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/__init__.py +1 -1
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/selfcheck.py +7 -2
- {fxapk-2.0.2 → fxapk-2.0.4/fxapk.egg-info}/PKG-INFO +1 -1
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk.egg-info/SOURCES.txt +2 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/pyproject.toml +1 -1
- fxapk-2.0.4/tests/test_first_failure_diagnostic.py +146 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_proctree.py +20 -12
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_proctree_windows_exit.py +48 -1
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recovery_pipeline.py +22 -15
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_version_provenance.py +39 -0
- fxapk-2.0.4/tests/test_windows_tracker_diagnostic.py +108 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/.env.example +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/AGENTS.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/ANDROID-UI.en.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/ANDROID-UI.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/ARCHITECTURE.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/COMPANION-TOOLS.en.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/COMPANION-TOOLS.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/DEVICE-ACCEPTANCE.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/EVIDENCE-ARCHIVE.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/LICENSE +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/MANIFEST.in +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/OFFLINE-REVIEW.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/PRE-REPORT-WORKFLOW.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/README.en.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/README.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/RECOVERY-PIPELINE.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/SECURITY_MODEL.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/USAGE.en.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/USAGE.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/examples/ui-plan.example.json +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/_version.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/_common.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/admin_panel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/api_surface.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/app_framework.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/backend_credential.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/build_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/card_merchant.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/certificate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/classify.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/components.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/config_keys.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/contacts.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/crypto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/crypto_recipe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/deeplink_surface.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/dex_obfuscation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/dns_bypass.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/endpoints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/favicon.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/firebase.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/fourth_party_payment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/jadx.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/js_bundle.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/json_endpoints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/manifest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/native_config_channel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/native_fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/native_obfuscation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/packing.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/payment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/permissions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/re_toolkit.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/remote_config.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/repack_identity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/runtime_diagnostics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/sdk_fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/self_hosted_im.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/sensitive_api.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/sms_forwarding.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/wallet_secret.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/web_evidence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/web_har.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/analyzers/webview_jsbridge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/assemble.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/graph.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/models.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/roles.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/attribution/scorer.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/addressing_evaluate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/case.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/corpus.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/dex_query.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/enrich.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/evaluate_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/evidence_archive.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/evidence_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/jadx_query.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/labels_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/lead.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/origin_check.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/phase2.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/probe_target.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/reanalysis_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/split_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/web.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/commands/web_supplement.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/algo_channel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/asset_score.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/decode.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/discover.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/fetch.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/models.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/port_norm.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/runtime_chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/config/string_graph.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/admission.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/apk.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/appcrypto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/appframework.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/atomic.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/attribution.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/batch_enrich.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/bounded_io.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/case_identity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/case_package.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/certificate_ownership.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/chainaddr.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/_shared.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/gates.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/layers.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/sequence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/sources.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/closure/targets.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/config_probe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/config_probe_run.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/context.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/corpus.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/corpus_catalog.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/corpus_errors.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/device.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/dex_query.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/dex_records.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/diff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/dotenv.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/enrichment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/enrichment_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/enrichment_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/enrichment_profiles.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/enrichment_recovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/evidence_archive.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/evidence_exit_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/evidence_output.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/evidence_scope.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/exposure.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/fetch_intake.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/file_read.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/flutter_analysis.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/forensic.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/gap_production.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/gobuildinfo.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/hunter_quota.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/infra.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/integrity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_callpath.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_index.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_index_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_ownership.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_run_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_sources.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jadx_structure_diff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/json_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/json_io.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/jsonl.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/judgment_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/leads.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/leakscan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_discovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_labels.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_ml.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/linkage_training.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/logsetup.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/meta_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/models.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/native_handoff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/observations.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/acquisition.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/common.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/crypto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/dex.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/emulate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/filesystem.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/jni.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/native.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/recover.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/runner.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/trace.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/offline_review/worker.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/origin_check.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/origin_enrichment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/origin_projection.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/parallel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/parser_limits.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/parser_worker.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/decision.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/evidence_map.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/inventory.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/link.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/preparation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/run_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/survey.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/phase2/triage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/pinned_transport.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/pipeline.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/probe_checks.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/probe_target.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/proctree.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/provider_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/rea_intake.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/reanalysis.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/reanalysis_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/reanalysis_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/recognition_codec.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/recognition_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/recognition_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/recognition_labels.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/recognition_training.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/redact.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/registry.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/regress.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/report_compat.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/report_delivery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/report_io.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/report_naming.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/report_schema.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/response_evidence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/restore.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/runtime_diagnostics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/runtime_inventory.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/secrets.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/snapshot.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/source_catalog.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/source_semantics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/source_status.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/stage_preservation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/structure_diff_report.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/textutil.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/tld_policy.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/tls_bindings.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/tools.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/utf8.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/visibility.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/walletsecret.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_capture.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_handoff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_observation_plan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_observations.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_supplement.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_supplement_preservation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_supplement_report.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/web_supplement_runtime.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/webctx.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/core/xmlutil.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/actions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/addressing.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/addressing_events.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/auto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/batch.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/cancel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capabilities.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capability_probe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture_adaptation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture_plan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture_safety.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/capture_sequence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/config_artifacts.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/correlate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/cryptohook.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/doctor.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/event_origin.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/accessibility_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/clipboard_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/config_body_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/config_consumer_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/crypto_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/jsbridge_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/okhttp_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/probe_coverage.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/recovery_observer.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/sample_runtime_compat.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/sensitive_api_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_js/sqlcipher_hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/coldstart-config-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/mqtt-xmpp-im-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/native-ssl-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/objstore-config-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/push-c2-inbound-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/sms-forward-outbound-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/telegram-mtproto-hook.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/frida_probes/tls-keylog.js +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/go_config_observer.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/merge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/pcap_ingest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/probe_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/probe_ingest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/provision.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/recovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/repackage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/runtime_evidence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/runtime_input.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/socket_attr.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/tshark_backend.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/dynamic/unpack.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/_cache.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/_http.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/_ipinfo.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/_profile.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/_rate_limit.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/asn.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/certs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/dns.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/icp.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/infrastructure.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/ip_rdap.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/multisource.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/rdap.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/resource_profile.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/shodan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/spamhaus.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/enrichers/whois.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/categories.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/converters.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/entities.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/fingerprints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/network/observations.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/plugins/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/plugins/contracts.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/plugins/registry.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/__init__.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/diagnostics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/digest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/html.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/ioc.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/json.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/letters.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/pdf.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/report/templates/report.html.j2 +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/admin_panels.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/app_types.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/backend_credentials.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/bank_packages.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/bip39_english.txt +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/capture_noise.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/card_merchant.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/certificate.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/components.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/config_keys.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/contacts.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/crypto.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/crypto_recipe.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/db_carve.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/deeplink_surface.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/domain_tiers.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/endpoints.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/exposure.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/firebase.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/fourth_party_payment.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/js_bundle.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/letter_templates.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/manifest.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/packers.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/payment.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/permissions.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/carrier.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/cdn.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/cloud.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/idc.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/investigative/fronting_cn.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers/waf.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/providers.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/re_toolkit.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/remote_config.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/sdks.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/secrets.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/self_hosted_im.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/sensitive_api.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/sms_forwarding.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/source_access.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk/rules/webview_jsbridge.yaml +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk.egg-info/dependency_links.txt +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk.egg-info/entry_points.txt +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk.egg-info/requires.txt +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/fxapk.egg-info/top_level.txt +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/setup.cfg +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_chain_stage_a.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_collector.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_real_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_runtime.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_addressing_transport.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_admin_panel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_admission_projections.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_algo_channel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_analyzer_so_windows.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_android_actions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_android_ui_plugin.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_api_surface.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_apk_invalid_manifest_degradation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_app_framework.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_appcrypto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_architecture_boundaries.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_asc_live.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_asset_score.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_atomic_permissions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_cloaking.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_graph_acceptance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_graph_builder.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_graph_determinism.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_graph_models.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_graph_scope.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_models.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_roles.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_attribution_scorer.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_auto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_auto_step_detail_no_leak.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_axml_nsmap_shim.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_backend_credential.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_batch.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_batch_enrich.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_body_canary_outputs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_bounded_io.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_bounded_json_inputs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_build_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capabilities.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capability_probe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_adaptation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_byte_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_mode_single_source.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_netstate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_plan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_safety.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_sequence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_sequence_quality.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_capture_ui_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_card_merchant.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_case_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_case_package.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_certificate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_chainaddr.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_classify.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cli_dynamic.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cli_entrypoint_credentials.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cli_probe_leads.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cli_single_name.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cli_startup_imports.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_clipboard.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_closure.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_closure_passive_dns.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_closure_projection.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_components.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_body_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_consumer_observer.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_consumers.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_decode.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_key_advice.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_keys.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_keys_poisoned_paths.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_probe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_config_probe_run.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_contacts.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_corpus.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_corpus_catalog.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_corpus_config_objects.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_corpus_reconcile.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_correlate.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_credential.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_crypto.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_crypto_recipe.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_cryptohook.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_deeplink_surface.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_device.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_decode_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_obfuscation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_import.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_import_trust.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_inventory.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_limits.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_midpoint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_phase2.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_provider.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dex_query_versions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diag_d1.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diag_d2.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diag_d3.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diag_d4.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diag_d5.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diagnostic_digest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_diff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_digest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dns_bypass.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_doc_install_versions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_doctor.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_doctor_profile.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_domain_control.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_domain_noise_reduction.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_domestic_provider_fingerprints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_dotenv.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_endpoint_value_validation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_endpoints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrich_bounded_dispatch.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrich_concurrency.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_asn.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_certs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_dns.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_http_cap.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_icp.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_ip_rdap.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_ipinfo.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_public_error_boundary.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_rdap.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_shodan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_whois.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enricher_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrichment_profile_gaps.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrichment_provider_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrichment_recovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_enrichment_repairs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_epic_a_perf.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evaluate_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evidence_admission.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evidence_archive.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evidence_occurrences.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evidence_scope.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_evidence_zstd.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_exit_e135.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_exit_e2.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_exit_e4.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_exposure.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_extra_dex_visibility.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_favicon.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_feedback_queued.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_fetch_intake.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_file_read_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_finding_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_firebase.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_flutter_plugin.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_fofa_relay_errors.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_forensic.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_fourth_party_payment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_frida17_bridge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_frida_network_attribution.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_gap_production.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_go_config_observer.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_gobuildinfo.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_hiddenapi_flags.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_http_rate_limit.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_hunter_quota.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_infra.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_infra_encoding_noise.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_integration.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_integrity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_ioc.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_ipv6_endpoint_matching.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_arity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_callpath.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_callpath_budget.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_evidence_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_index.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_index_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_index_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_ownership.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_ownership_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_query_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_recall_baseline.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_resolution_criteria.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_resolution_migration.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_run_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_structure.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_structure_diff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jadx_usage_context.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_js_bundle.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_json_endpoints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_jsonl.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_judgment_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_labels_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_lead_downgrades.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_lead_restore.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_leads_low_octet.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_leakscan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_leakscan_bulk_exemption.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_letters.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage_discovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage_ml.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_linkage_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_log_public_boundary.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_logsetup.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_manifest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_manifest_poison.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_merge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_merge_deaddrop.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_meta_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_multisource.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_native_config_channel.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_native_fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_native_obfuscation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_network_attribution.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_network_converters.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_network_entities.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_network_fingerprints.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_network_observations.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_no_external_network.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_no_raw_exception_in_public_sinks.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_no_real_adb.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_offline_evidence_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_okhttp_noninterference.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_origin_check.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_overseas_targets.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_p2_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_p2src_phase1_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_p2src_phase2_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_p2src_phase2_decision.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_p2src_phase2_triage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_packing.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_parallel_analyzers.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_parser_bridge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_parser_limits.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_passive_active_mode.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_passive_dns.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_payment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pcap_ingest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pcap_merge_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pdf.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_permissions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase2_chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase2_golden.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase2_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase2_resource_guards.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase2_survey.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase_link.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_phase_link_e2e.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pipeline.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pipeline_stages.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_platform_gating.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_plugin_capture_hooks.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_plugin_registry.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_port_norm.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pre_report_layer_chain.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_pre_report_preparation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_probe_coverage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_probe_ingest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_probe_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_probe_target.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_probe_target_checks.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_provider_account_modes.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_provider_failure_isolation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_provider_rate_wiring.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_provider_review.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_providers_dir.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_provision.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_public_diagnostic_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_public_name_peer_separation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_re_toolkit.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_attach.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_bundlecompat.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_cli_integration.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_compat.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_intake.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_native.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_plugin.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_projection.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_fixes.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase10.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase2.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase3.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase4.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase5.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase6.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_review_phase8.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_runtime.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_trace.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_trace_extended.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_rea_trace_fixture.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_reanalysis_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_reanalysis_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_reanalysis_ledger.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_reanalysis_planner.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recognition_codec.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recognition_evaluation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recognition_group_clue.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recognition_labels.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_recognition_training.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_redact.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_registry.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_regress.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_release_preflight.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_remote_config_discovery.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_remote_config_fetch.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_remote_control.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_repack_identity.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_repack_quarantine.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_repackage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_compat.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_credibility.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_html_signals.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_io.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_naming.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_schema_compat.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_report_schema_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_requirements_lock.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_resource_filter.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_resource_profile.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_resource_visibility.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_run_provenance.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_runtime_diagnostics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_runtime_event_origin.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_runtime_inventory.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_runtime_preservation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_scaling_regressions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_scope_exports.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_scope_typed_outputs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_sdk_fingerprint.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_secrets.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_self_hosted_im.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_selfcheck.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_selfcheck_credentials.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_sensitive_api.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_sessions.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_sms_forwarding.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_sni_camouflage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_socket_attr.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_source_catalog.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_source_semantics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_source_status.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_spamhaus.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_split_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_stage_preservation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_startup_imports.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_strict_json_contract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_string_graph.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_structure_diff_cli.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_synthetic_regression.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_synthetic_snapshots.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_tenant_bucket.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_textutil.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_third_party_false_positives.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_tld_policy.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_tls_bindings.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_toolchain_resolution.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_tools.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_truncation_signal.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_tshark_backend.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_two_phase_enrichment.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_ui_digest.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_ui_round_binding.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_unpack.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_url_redaction.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_usage_command_reference.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_utf8.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_vendor_sdk_noise.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_version_artifacts.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_version_shadowing.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_victim_db.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_visibility.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_wallet_secret.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_agent_handoff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_capture.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_evidence.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_evidence_bounds.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_handoff.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_har.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_har_semantics.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_observation_plan.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_observations.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement_dynamic.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement_lineage.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement_preservation.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement_report.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_web_supplement_routing.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_webview_jsbridge.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_workflow_evidence_repairs.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_zip_bomb_bounded_extract.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tests/test_zip_bomb_protection.py +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tools/TOOLCHAIN.en.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tools/TOOLCHAIN.md +0 -0
- {fxapk-2.0.2 → fxapk-2.0.4}/tools/toolchain-requirements.txt +0 -0
|
@@ -5,6 +5,15 @@
|
|
|
5
5
|
|
|
6
6
|
## 待发布
|
|
7
7
|
|
|
8
|
+
## 2.0.4
|
|
9
|
+
|
|
10
|
+
- 版本自检明确区分安装分发未安装、元数据读取失败与版本无效,并显示分发状态及源码/安装版本一致性;保留原有回退、退出码、警告和报告/corpus 身份语义。
|
|
11
|
+
|
|
12
|
+
## 2.0.3
|
|
13
|
+
|
|
14
|
+
- 为合成进程归属与恢复管线测试增加首次失败的白名单诊断,保留首次观测,避免清理覆盖;成功路径不输出诊断,原断言与失败结果保持不变。
|
|
15
|
+
- 将同一重分析路径的后续原因码和报告断言纳入诊断上下文,并增加后段断言失败及成功静默的合同测试;此改进仅涉及测试可诊断性,不代表旧执行器失败根因已查明或修复。
|
|
16
|
+
|
|
8
17
|
## 2.0.2
|
|
9
18
|
|
|
10
19
|
- 发布前核对核心与四插件各自版本的十个发行归档、完整 SHA-256 清单及构建与暂存文件一致性;缺少插件时,即使剩余摘要全部正确也拒绝上传。
|
|
@@ -6,7 +6,7 @@ from fxapk._version import resolve_version
|
|
|
6
6
|
|
|
7
7
|
# 版本号优先取已安装包元数据(pyproject 的 version,pip 安装后自动正确);源码树 / 冻结
|
|
8
8
|
# exe 无 dist-info 时回退到下面的保底串。保底串发版时与 pyproject 同步(_FALLBACK_VERSION)。
|
|
9
|
-
_FALLBACK_VERSION = "2.0.
|
|
9
|
+
_FALLBACK_VERSION = "2.0.4"
|
|
10
10
|
|
|
11
11
|
__version__ = resolve_version(_FALLBACK_VERSION).effective_version
|
|
12
12
|
|
|
@@ -165,13 +165,18 @@ def build_version_component() -> dict[str, str]:
|
|
|
165
165
|
reinstall = "`python -m pip install -e <该工作树的绝对路径>`(uv 建的 venv 用 `uv pip install -e <同上>`)"
|
|
166
166
|
|
|
167
167
|
head = _git_head(import_path) if import_path else ""
|
|
168
|
+
distribution_display = dist_version or {
|
|
169
|
+
"missing": "未安装", "error": "读取失败", "invalid": "版本无效",
|
|
170
|
+
}.get(provenance.distribution_status, "未知")
|
|
168
171
|
detail = (
|
|
169
172
|
f"version={imported_version or '未知'} "
|
|
170
173
|
f"source_version={fallback_version or '未知'} "
|
|
171
174
|
f"import_path={import_path or '未知'} "
|
|
172
|
-
f"distribution={
|
|
175
|
+
f"distribution={distribution_display} "
|
|
173
176
|
f"distribution_location={dist_location or '-'} "
|
|
174
|
-
f"git_head={head or '-'}"
|
|
177
|
+
f"git_head={head or '-'} "
|
|
178
|
+
f"distribution_status={provenance.distribution_status} "
|
|
179
|
+
f"consistency={provenance.consistency}"
|
|
175
180
|
)
|
|
176
181
|
|
|
177
182
|
# 只有"两边都拿到了版本号且不一致"才算故障——未安装时对不上是正常的。
|
|
@@ -561,6 +561,7 @@ tests/test_file_read_coverage.py
|
|
|
561
561
|
tests/test_finding_provenance.py
|
|
562
562
|
tests/test_fingerprint.py
|
|
563
563
|
tests/test_firebase.py
|
|
564
|
+
tests/test_first_failure_diagnostic.py
|
|
564
565
|
tests/test_flutter_plugin.py
|
|
565
566
|
tests/test_fofa_relay_errors.py
|
|
566
567
|
tests/test_forensic.py
|
|
@@ -805,6 +806,7 @@ tests/test_web_supplement_preservation.py
|
|
|
805
806
|
tests/test_web_supplement_report.py
|
|
806
807
|
tests/test_web_supplement_routing.py
|
|
807
808
|
tests/test_webview_jsbridge.py
|
|
809
|
+
tests/test_windows_tracker_diagnostic.py
|
|
808
810
|
tests/test_workflow_evidence_repairs.py
|
|
809
811
|
tests/test_zip_bomb_bounded_extract.py
|
|
810
812
|
tests/test_zip_bomb_protection.py
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
"""Contracts for bounded, local-only first observation diagnostics."""
|
|
2
|
+
from __future__ import annotations
|
|
3
|
+
|
|
4
|
+
import json
|
|
5
|
+
import subprocess
|
|
6
|
+
import sys
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
import pytest
|
|
10
|
+
|
|
11
|
+
from tests.first_failure_diagnostic import FirstFailureDiagnostic
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def _payload(capsys):
|
|
15
|
+
output = capsys.readouterr()
|
|
16
|
+
assert output.out == ""
|
|
17
|
+
assert output.err.count("first-failure: ") == 1
|
|
18
|
+
return json.loads(output.err.removeprefix("first-failure: "))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def test_first_observation_survives_cleanup(capsys):
|
|
22
|
+
diagnostic = FirstFailureDiagnostic("diagnostic_contract", "gw2")
|
|
23
|
+
reasons = ["tree_state_unverified"]
|
|
24
|
+
with pytest.raises(AssertionError, match="original assertion"):
|
|
25
|
+
with diagnostic:
|
|
26
|
+
try:
|
|
27
|
+
diagnostic.observe(stage="ownership_read", read_error="AccessDenied", reasons=reasons)
|
|
28
|
+
assert False, "original assertion"
|
|
29
|
+
finally:
|
|
30
|
+
reasons[:] = ["subprocess_timeout"]
|
|
31
|
+
diagnostic.observe(stage="cleanup", ownership=True)
|
|
32
|
+
assert _payload(capsys) == {
|
|
33
|
+
"test": "diagnostic_contract", "worker": "gw2", "stage": "ownership_read",
|
|
34
|
+
"ownership": "unknown", "read_error": "AccessDenied", "reasons": ["tree_state_unverified"],
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@pytest.mark.parametrize("ownership,expected", [(True, "confirmed"), (False, "false"), (None, "unknown")])
|
|
39
|
+
def test_ownership_requires_exact_observation(capsys, ownership, expected):
|
|
40
|
+
with pytest.raises(AssertionError):
|
|
41
|
+
with FirstFailureDiagnostic("diagnostic_contract") as diagnostic:
|
|
42
|
+
diagnostic.observe(stage="reanalyze", ownership=ownership, reasons=["tree_state_unverified"])
|
|
43
|
+
assert False
|
|
44
|
+
payload = _payload(capsys)
|
|
45
|
+
assert payload["ownership"] == expected
|
|
46
|
+
assert payload["read_error"] == "unknown"
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def test_arbitrary_data_never_serialized(capsys):
|
|
50
|
+
class Opaque:
|
|
51
|
+
def __str__(self):
|
|
52
|
+
raise AssertionError("must not stringify payload")
|
|
53
|
+
__repr__ = __str__
|
|
54
|
+
with pytest.raises(AssertionError, match="unchanged"):
|
|
55
|
+
with FirstFailureDiagnostic(Opaque(), "private-worker-99999") as diagnostic:
|
|
56
|
+
diagnostic.observe(stage=Opaque(), ownership=1, read_error=Opaque(),
|
|
57
|
+
reasons=[Opaque(), "private-reason", "tree_state_unverified"] + ["private"] * 100)
|
|
58
|
+
assert False, "unchanged"
|
|
59
|
+
payload = _payload(capsys)
|
|
60
|
+
assert payload == {
|
|
61
|
+
"test": "unknown", "worker": "unknown", "stage": "unknown", "ownership": "unknown",
|
|
62
|
+
"read_error": "unknown", "reasons": ["tree_state_unverified", "unknown"],
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def test_success_is_quiet_even_with_observed_read_error(capsys):
|
|
67
|
+
with FirstFailureDiagnostic("diagnostic_contract") as diagnostic:
|
|
68
|
+
diagnostic.observe(stage="ownership_read", read_error="AccessDenied")
|
|
69
|
+
assert True
|
|
70
|
+
assert capsys.readouterr() == ("", "")
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def test_unobserved_failure_is_unknown_and_preserves_exception(capsys):
|
|
74
|
+
error = AssertionError("unchanged")
|
|
75
|
+
with pytest.raises(AssertionError) as caught:
|
|
76
|
+
with FirstFailureDiagnostic("diagnostic_contract"):
|
|
77
|
+
raise error
|
|
78
|
+
assert caught.value is error
|
|
79
|
+
payload = _payload(capsys)
|
|
80
|
+
assert payload["stage"] == payload["ownership"] == payload["read_error"] == "unknown"
|
|
81
|
+
assert payload["reasons"] == ["unknown"]
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def test_deliberate_pytest_failure_stays_nonzero(tmp_path):
|
|
85
|
+
helper = Path(__file__).with_name("first_failure_diagnostic.py")
|
|
86
|
+
test = tmp_path / "test_deliberate.py"
|
|
87
|
+
test.write_text(
|
|
88
|
+
"import runpy\n"
|
|
89
|
+
f"Diagnostic = runpy.run_path({str(helper)!r})['FirstFailureDiagnostic']\n"
|
|
90
|
+
"def test_failure():\n"
|
|
91
|
+
" with Diagnostic('diagnostic_contract', 'master') as diagnostic:\n"
|
|
92
|
+
" diagnostic.observe(stage='reanalyze')\n"
|
|
93
|
+
" assert False\n", encoding="utf-8",
|
|
94
|
+
)
|
|
95
|
+
result = subprocess.run([sys.executable, "-m", "pytest", "-q", "--tb=short", str(test)],
|
|
96
|
+
capture_output=True, text=True, encoding="utf-8", timeout=30)
|
|
97
|
+
assert result.returncode == 1
|
|
98
|
+
assert "1 failed" in result.stdout
|
|
99
|
+
assert result.stdout.count("first-failure: ") == 1
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
def test_unobserved_reasons_differ_from_observed_empty(capsys):
|
|
103
|
+
for reasons, expected in [(None, ["unknown"]), ([], [])]:
|
|
104
|
+
with pytest.raises(AssertionError):
|
|
105
|
+
with FirstFailureDiagnostic("diagnostic_contract") as diagnostic:
|
|
106
|
+
diagnostic.observe(stage="ownership_read", reasons=reasons)
|
|
107
|
+
assert False
|
|
108
|
+
assert _payload(capsys)["reasons"] == expected
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
@pytest.mark.parametrize("failure", [None, "reason", "report"])
|
|
112
|
+
def test_reanalysis_late_assertions_emit_filtered_diagnostic(monkeypatch, tmp_path, request, capsys, failure):
|
|
113
|
+
from contextlib import nullcontext
|
|
114
|
+
|
|
115
|
+
from tests import test_recovery_pipeline as pipeline
|
|
116
|
+
|
|
117
|
+
original_run = pipeline.recovery.run
|
|
118
|
+
reached = []
|
|
119
|
+
|
|
120
|
+
def synthetic_run(plan, output):
|
|
121
|
+
value = original_run(plan, output)
|
|
122
|
+
stage = next(row for row in value["stages"] if row["id"] == "reanalyze")
|
|
123
|
+
assert stage["state"] == "partial" # The first assertion will pass.
|
|
124
|
+
reached.append(True)
|
|
125
|
+
stage["reason_codes"].append("synthetic-private-path-or-command")
|
|
126
|
+
if failure == "reason":
|
|
127
|
+
stage["reason_codes"].remove("reanalyzed_report_partial")
|
|
128
|
+
elif failure == "report":
|
|
129
|
+
(output / "reviewed/report.json").write_text("synthetic altered report", encoding="utf-8")
|
|
130
|
+
return value
|
|
131
|
+
|
|
132
|
+
monkeypatch.setattr(pipeline.recovery, "run", synthetic_run)
|
|
133
|
+
with pytest.raises(AssertionError) if failure else nullcontext():
|
|
134
|
+
pipeline.test_reanalysis_status_reaches_recovery_and_report(
|
|
135
|
+
monkeypatch, tmp_path, "partial", False, True, request,
|
|
136
|
+
)
|
|
137
|
+
assert reached == [True]
|
|
138
|
+
if failure:
|
|
139
|
+
payload = _payload(capsys)
|
|
140
|
+
assert payload["test"] == "recovery_reanalysis"
|
|
141
|
+
assert payload["stage"] == "reanalyze"
|
|
142
|
+
assert payload["reasons"] == (["unknown"] if failure == "reason"
|
|
143
|
+
else ["reanalyzed_report_partial", "unknown"])
|
|
144
|
+
assert "synthetic-private-path-or-command" not in json.dumps(payload)
|
|
145
|
+
else:
|
|
146
|
+
assert capsys.readouterr() == ("", "")
|
|
@@ -16,6 +16,7 @@ import psutil
|
|
|
16
16
|
import pytest
|
|
17
17
|
|
|
18
18
|
from fxapk.core import proctree
|
|
19
|
+
from tests.first_failure_diagnostic import FirstFailureDiagnostic
|
|
19
20
|
|
|
20
21
|
#: 「java 等价物」孙进程:长睡眠、输出全部 DEVNULL(不占父的 stdout 管道,
|
|
21
22
|
#: 免得 communicate 等孙进程 EOF——真实 jadx 的这类挂起由 timeout 兜底,与本测无关)。
|
|
@@ -104,17 +105,20 @@ def test_timeout_kills_whole_tree_including_grandchild() -> None:
|
|
|
104
105
|
_kill_if_alive(pid) # 断言失败时不留真孤儿
|
|
105
106
|
|
|
106
107
|
|
|
107
|
-
def test_descendants_after_root_exit_force_killed() -> None:
|
|
108
|
+
def test_descendants_after_root_exit_force_killed(request) -> None:
|
|
108
109
|
"""根进程正常退出但孙进程脱管(daemon 化 java 形态)→ 检出、强杀整树、
|
|
109
110
|
forced_tree_kill=True(该次运行不得算完整覆盖)。"""
|
|
110
111
|
res = proctree.run_owned([sys.executable, "-c", _SPAWN_SLEEPER], timeout=30.0)
|
|
112
|
+
diagnostic = FirstFailureDiagnostic("ownership_descendants", getattr(request.config, "workerinput", {}).get("workerid", "master"))
|
|
113
|
+
diagnostic.observe(stage="termination_check", ownership=res.ownership_complete, reasons=res.reason_codes)
|
|
111
114
|
pid = int(res.stdout.strip().splitlines()[0])
|
|
112
115
|
try:
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
with diagnostic:
|
|
117
|
+
assert res.timed_out is False
|
|
118
|
+
assert res.forced_tree_kill is True
|
|
119
|
+
assert "descendants_after_root_exit" in res.reason_codes
|
|
120
|
+
assert res.termination_complete is True
|
|
121
|
+
assert _sleeper_gone(pid), "脱管孙进程未被强杀"
|
|
118
122
|
finally:
|
|
119
123
|
_kill_if_alive(pid)
|
|
120
124
|
|
|
@@ -245,7 +249,7 @@ def test_posix_internal_error_after_spawn_kills_and_reaps_group(
|
|
|
245
249
|
|
|
246
250
|
|
|
247
251
|
@pytest.mark.parametrize("older", [True, False])
|
|
248
|
-
def test_posix_access_denied_process_is_ignored_only_when_older(monkeypatch, older):
|
|
252
|
+
def test_posix_access_denied_process_is_ignored_only_when_older(monkeypatch, older, request):
|
|
249
253
|
from types import SimpleNamespace
|
|
250
254
|
|
|
251
255
|
name = "_apkscan_proctree_access_test"
|
|
@@ -257,6 +261,8 @@ def test_posix_access_denied_process_is_ignored_only_when_older(monkeypatch, old
|
|
|
257
261
|
loading.setattr(sys, "platform", "linux")
|
|
258
262
|
spec.loader.exec_module(posix)
|
|
259
263
|
|
|
264
|
+
diagnostic = FirstFailureDiagnostic("ownership_access", getattr(request.config, "workerinput", {}).get("workerid", "master"))
|
|
265
|
+
|
|
260
266
|
class Protected:
|
|
261
267
|
pid = 4243
|
|
262
268
|
def status(self):
|
|
@@ -264,6 +270,7 @@ def test_posix_access_denied_process_is_ignored_only_when_older(monkeypatch, old
|
|
|
264
270
|
def uids(self):
|
|
265
271
|
return SimpleNamespace(real=1000)
|
|
266
272
|
def environ(self):
|
|
273
|
+
diagnostic.observe(stage="ownership_read", read_error="AccessDenied")
|
|
267
274
|
raise psutil.AccessDenied(self.pid)
|
|
268
275
|
def create_time(self):
|
|
269
276
|
return time.time() - 100 if older else time.time() + 1
|
|
@@ -282,11 +289,12 @@ def test_posix_access_denied_process_is_ignored_only_when_older(monkeypatch, old
|
|
|
282
289
|
monkeypatch.setattr(posix.os, "getpgid", lambda pid: 9999, raising=False)
|
|
283
290
|
monkeypatch.setattr(psutil, "process_iter", lambda *a: iter([Protected()]))
|
|
284
291
|
monkeypatch.setattr(sys, "platform", "linux")
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
292
|
+
with diagnostic:
|
|
293
|
+
result = posix.run_owned(["synthetic"], timeout=1)
|
|
294
|
+
assert result.returncode == 0 and result.stdout == "success"
|
|
295
|
+
assert result.ownership_complete is True
|
|
296
|
+
assert result.termination_complete is older
|
|
297
|
+
assert result.reason_codes == (() if older else ("tree_state_unverified",))
|
|
290
298
|
|
|
291
299
|
|
|
292
300
|
@pytest.mark.skipif(sys.platform != "linux", reason="Linux procfs dumpability")
|
|
@@ -5,10 +5,13 @@ import ctypes
|
|
|
5
5
|
import subprocess
|
|
6
6
|
import sys
|
|
7
7
|
import time
|
|
8
|
+
from threading import Lock
|
|
9
|
+
from types import SimpleNamespace
|
|
8
10
|
|
|
9
11
|
import pytest
|
|
10
12
|
|
|
11
13
|
from fxapk.core import proctree
|
|
14
|
+
from tests.windows_tracker_diagnostic import diagnose_tracker_assertion
|
|
12
15
|
|
|
13
16
|
pytestmark = pytest.mark.skipif(sys.platform != "win32", reason="Windows native Job handles")
|
|
14
17
|
|
|
@@ -30,7 +33,8 @@ def owned_sleeper():
|
|
|
30
33
|
while tracker.seen != 1 and not tracker.failed and time.monotonic() < deadline:
|
|
31
34
|
tracker.changed.wait(0.02)
|
|
32
35
|
tracker.changed.clear()
|
|
33
|
-
|
|
36
|
+
with diagnose_tracker_assertion(tracker, lambda: proctree._job_process_counts(job)):
|
|
37
|
+
assert tracker.seen == 1 and len(tracker.handles) == 1 and not tracker.failed
|
|
34
38
|
yield job, tracker, proc
|
|
35
39
|
finally:
|
|
36
40
|
# This Job was created here and contains only the above process; no numeric-PID kill.
|
|
@@ -109,6 +113,49 @@ def test_collector_failure_during_final_confirmation_remains_unconfirmed(
|
|
|
109
113
|
assert tracker.wait(0.03) is False
|
|
110
114
|
|
|
111
115
|
|
|
116
|
+
@pytest.mark.parametrize("fail_second", [False, True], ids=["healthy", "collector_fails"])
|
|
117
|
+
def test_final_confirmation_rechecks_collector_state_without_native_fixture(
|
|
118
|
+
monkeypatch, fail_second,
|
|
119
|
+
):
|
|
120
|
+
# Exercise the real wait method, without creating a Job, thread or process.
|
|
121
|
+
tracker = object.__new__(proctree._JobExitTracker)
|
|
122
|
+
tracker.job = object()
|
|
123
|
+
handle = object()
|
|
124
|
+
tracker.handles = [handle]
|
|
125
|
+
tracker.seen, tracker.failed = 1, False
|
|
126
|
+
tracker.lock = Lock()
|
|
127
|
+
calls = []
|
|
128
|
+
count_calls = 0
|
|
129
|
+
|
|
130
|
+
def counts(job):
|
|
131
|
+
nonlocal count_calls
|
|
132
|
+
assert job is tracker.job
|
|
133
|
+
count_calls += 1
|
|
134
|
+
calls.append("counts")
|
|
135
|
+
if count_calls == 2 and fail_second:
|
|
136
|
+
tracker.failed = True
|
|
137
|
+
return 0, 1
|
|
138
|
+
|
|
139
|
+
def wait_for_handle(actual, timeout):
|
|
140
|
+
assert actual is handle and timeout == 0
|
|
141
|
+
calls.append("handle_wait")
|
|
142
|
+
return 0 # Synthetic signaled handle.
|
|
143
|
+
|
|
144
|
+
# Advance synthetic time without depending on the number of clock reads.
|
|
145
|
+
# Exhaustion bounds unexpected loops; do not patch the shared time module.
|
|
146
|
+
clock = iter(tick / 1000 for tick in range(101))
|
|
147
|
+
monkeypatch.setattr(proctree, "time", SimpleNamespace(monotonic=lambda: next(clock)))
|
|
148
|
+
monkeypatch.setattr(proctree, "_job_process_counts", counts)
|
|
149
|
+
monkeypatch.setattr(
|
|
150
|
+
proctree, "_kernel32", SimpleNamespace(WaitForSingleObject=wait_for_handle),
|
|
151
|
+
)
|
|
152
|
+
|
|
153
|
+
assert tracker.wait(0.03) is (not fail_second)
|
|
154
|
+
assert count_calls == 2
|
|
155
|
+
assert calls == ["counts", "handle_wait", "counts"]
|
|
156
|
+
assert tracker.failed is fail_second
|
|
157
|
+
|
|
158
|
+
|
|
112
159
|
def test_collector_lock_cannot_extend_cleanup_budget(owned_sleeper):
|
|
113
160
|
_job, tracker, _proc = owned_sleeper
|
|
114
161
|
tracker.lock.acquire()
|
|
@@ -10,6 +10,7 @@ import pytest
|
|
|
10
10
|
|
|
11
11
|
from fxapk.core.offline_review import acquisition, dex, jni, recover, runner
|
|
12
12
|
from fxapk.dynamic import recovery
|
|
13
|
+
from tests.first_failure_diagnostic import FirstFailureDiagnostic
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
def plan_task(identifier, kind, path, **options):
|
|
@@ -113,11 +114,14 @@ def test_recovered_dex_exact_descriptor_and_missing_body_are_separate():
|
|
|
113
114
|
|
|
114
115
|
|
|
115
116
|
@pytest.mark.skipif(sys.platform == "darwin", reason="bounded workers require enforceable memory limits")
|
|
116
|
-
def test_same_vectors_do_not_count_as_distinct_validation(tmp_path):
|
|
117
|
+
def test_same_vectors_do_not_count_as_distinct_validation(tmp_path, request):
|
|
117
118
|
pytest.importorskip("unicorn")
|
|
118
119
|
value = execute(bytes.fromhex("0000018bc0035fd6"), emu_options(vectors=[
|
|
119
120
|
{"args": [3, 4], "expected_return": 7}, {"args": [3, 4], "expected_return": 7}]), tmp_path)
|
|
120
|
-
|
|
121
|
+
diagnostic = FirstFailureDiagnostic("recovery_vectors", getattr(request.config, "workerinput", {}).get("workerid", "master"))
|
|
122
|
+
diagnostic.observe(stage="validation_result", reasons=value.get("reason_codes"))
|
|
123
|
+
with diagnostic:
|
|
124
|
+
assert value["state"] == "partial" and "distinct_validation_inputs_required" in value["reason_codes"]
|
|
121
125
|
|
|
122
126
|
|
|
123
127
|
def test_native_worker_crash_becomes_terminal_receipt(monkeypatch, tmp_path):
|
|
@@ -224,7 +228,7 @@ def test_recovery_failure_receipt_publishes_report(monkeypatch, tmp_path):
|
|
|
224
228
|
@pytest.mark.parametrize("analysis_status", ["partial", "failed", "complete"])
|
|
225
229
|
@pytest.mark.parametrize("process_failed", [False, True])
|
|
226
230
|
@pytest.mark.parametrize("extra_loaded", [True, False])
|
|
227
|
-
def test_reanalysis_status_reaches_recovery_and_report(monkeypatch, tmp_path, analysis_status, process_failed, extra_loaded):
|
|
231
|
+
def test_reanalysis_status_reaches_recovery_and_report(monkeypatch, tmp_path, analysis_status, process_failed, extra_loaded, request):
|
|
228
232
|
from fxapk.core.models import Report
|
|
229
233
|
from fxapk.report.json import to_dict
|
|
230
234
|
|
|
@@ -264,18 +268,21 @@ def test_reanalysis_status_reaches_recovery_and_report(monkeypatch, tmp_path, an
|
|
|
264
268
|
expected = "failed" if process_failed or analysis_status == "failed" else analysis_status
|
|
265
269
|
if expected == "complete" and not extra_loaded:
|
|
266
270
|
expected = "partial"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
271
|
+
diagnostic = FirstFailureDiagnostic("recovery_reanalysis", getattr(request.config, "workerinput", {}).get("workerid", "master"))
|
|
272
|
+
diagnostic.observe(stage="reanalyze", reasons=reanalyzed.get("reason_codes"))
|
|
273
|
+
with diagnostic:
|
|
274
|
+
assert reanalyzed["state"] == ("ok" if expected == "complete" else expected)
|
|
275
|
+
if process_failed:
|
|
276
|
+
assert "subprocess_timeout" in reanalyzed["reason_codes"]
|
|
277
|
+
if not extra_loaded:
|
|
278
|
+
assert "reanalyzed_extra_dex_not_loaded" in reanalyzed["reason_codes"]
|
|
279
|
+
for name in ("report.json", "digest.json", "report.html"):
|
|
280
|
+
assert "reanalyzed_extra_dex_not_loaded" in (output / "reviewed" / name).read_text(encoding="utf-8")
|
|
281
|
+
if analysis_status != "complete":
|
|
282
|
+
reason = "reanalyzed_report_" + analysis_status
|
|
283
|
+
assert reason in reanalyzed["reason_codes"]
|
|
284
|
+
for name in ("report.json", "digest.json", "report.html"):
|
|
285
|
+
assert reason in (output / "reviewed" / name).read_text(encoding="utf-8")
|
|
279
286
|
|
|
280
287
|
|
|
281
288
|
@pytest.mark.skipif(sys.platform == "darwin", reason="bounded workers require enforceable memory limits")
|
|
@@ -95,3 +95,42 @@ def test_missing_source_is_not_consistent(monkeypatch):
|
|
|
95
95
|
result = resolve_version(None)
|
|
96
96
|
assert result.source_version is None
|
|
97
97
|
assert result.consistency == "unverifiable"
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
@pytest.mark.parametrize(
|
|
101
|
+
"dist,effective,status,consistency,exit_code",
|
|
102
|
+
[
|
|
103
|
+
("2.0.0", "2.0.0", "available", "consistent", 0),
|
|
104
|
+
("1.0.0", "1.0.0", "available", "conflict", 1),
|
|
105
|
+
(None, "2.0.0", "missing", "unverifiable", 0),
|
|
106
|
+
("error", "2.0.0", "error", "unverifiable", 0),
|
|
107
|
+
("", "2.0.0", "invalid", "unverifiable", 0),
|
|
108
|
+
],
|
|
109
|
+
)
|
|
110
|
+
def test_version_detail_distinguishes_metadata_states_without_changing_exit(
|
|
111
|
+
monkeypatch, dist, effective, status, consistency, exit_code,
|
|
112
|
+
):
|
|
113
|
+
from typer.testing import CliRunner
|
|
114
|
+
from fxapk.cli import app
|
|
115
|
+
|
|
116
|
+
pin_distribution(monkeypatch, dist)
|
|
117
|
+
monkeypatch.setattr(fxapk, "_FALLBACK_VERSION", "2.0.0")
|
|
118
|
+
monkeypatch.setattr(fxapk, "__version__", effective)
|
|
119
|
+
before = resolve_version("2.0.0", effective_version=effective).report_record()
|
|
120
|
+
component = build_version_component()
|
|
121
|
+
assert f"distribution_status={status}" in component["detail"]
|
|
122
|
+
assert f"consistency={consistency}" in component["detail"]
|
|
123
|
+
display = {"missing": "未安装", "error": "读取失败", "invalid": "版本无效"}.get(status, dist)
|
|
124
|
+
assert f"distribution={display} " in component["detail"]
|
|
125
|
+
if status in ("error", "invalid"):
|
|
126
|
+
assert "未安装" not in component["detail"]
|
|
127
|
+
assert component["status"] == ("unreachable" if exit_code else "ok")
|
|
128
|
+
result = CliRunner().invoke(app, ["--version-verbose"])
|
|
129
|
+
assert result.exit_code == exit_code
|
|
130
|
+
assert f"distribution_status={status}" in result.output
|
|
131
|
+
assert f"consistency={consistency}" in result.output
|
|
132
|
+
assert f"distribution={display}\n" in result.output
|
|
133
|
+
if status in ("error", "invalid"):
|
|
134
|
+
assert "未安装" not in result.output
|
|
135
|
+
assert resolve_version("2.0.0", effective_version=effective).report_record() == before
|
|
136
|
+
assert fxapk.__version__ == effective
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
"""Portable synthetic contracts; no native processes or Windows APIs required."""
|
|
2
|
+
import json
|
|
3
|
+
import threading
|
|
4
|
+
from types import SimpleNamespace
|
|
5
|
+
|
|
6
|
+
import pytest
|
|
7
|
+
|
|
8
|
+
from tests.windows_tracker_diagnostic import diagnose_tracker_assertion
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def tracker(**values):
|
|
12
|
+
return SimpleNamespace(lock=threading.Lock(), seen=2, handles=[object()], failed=False, **values)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def record(capsys):
|
|
16
|
+
lines = capsys.readouterr().err.splitlines()
|
|
17
|
+
assert len(lines) == 1
|
|
18
|
+
return json.loads(lines[0].removeprefix("windows-tracker-failure: "))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def test_original_assertion_and_snapshot_survive_cleanup(capsys):
|
|
22
|
+
state = tracker()
|
|
23
|
+
original = AssertionError("synthetic assertion")
|
|
24
|
+
with pytest.raises(AssertionError) as caught:
|
|
25
|
+
try:
|
|
26
|
+
with diagnose_tracker_assertion(state, lambda: (1, 2)):
|
|
27
|
+
raise original
|
|
28
|
+
finally:
|
|
29
|
+
state.seen, state.handles, state.failed = 0, [], True
|
|
30
|
+
assert caught.value is original
|
|
31
|
+
data = record(capsys)
|
|
32
|
+
assert (data["seen"], data["handles_count"], data["failed"]) == (2, 1, False)
|
|
33
|
+
assert (data["job_active"], data["job_total"]) == (1, 2)
|
|
34
|
+
assert data["notification_identity"] == "unknown"
|
|
35
|
+
assert data["observation"] == "not_atomic_with_assertion_or_job_accounting"
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
@pytest.mark.parametrize("mode", ["busy", "error"])
|
|
39
|
+
def test_tracker_read_categories(capsys, mode):
|
|
40
|
+
state = tracker()
|
|
41
|
+
if mode == "busy":
|
|
42
|
+
state.lock.acquire()
|
|
43
|
+
else:
|
|
44
|
+
state.handles = None
|
|
45
|
+
with pytest.raises(AssertionError):
|
|
46
|
+
with diagnose_tracker_assertion(state, lambda: None):
|
|
47
|
+
assert False, "synthetic"
|
|
48
|
+
if mode == "busy":
|
|
49
|
+
state.lock.release()
|
|
50
|
+
else:
|
|
51
|
+
assert state.lock.acquire(blocking=False)
|
|
52
|
+
state.lock.release()
|
|
53
|
+
data = record(capsys)
|
|
54
|
+
assert data["tracker_read"] == mode
|
|
55
|
+
assert data["seen"] == "unknown"
|
|
56
|
+
assert data["job_read"] == "unavailable"
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
def test_success_never_reads_or_emits(capsys):
|
|
60
|
+
def forbidden():
|
|
61
|
+
pytest.fail("success must not query accounting")
|
|
62
|
+
with diagnose_tracker_assertion(object(), forbidden):
|
|
63
|
+
assert True
|
|
64
|
+
assert capsys.readouterr().err == ""
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def test_unrelated_exception_is_unchanged_and_silent(capsys):
|
|
68
|
+
original = ValueError("synthetic")
|
|
69
|
+
with pytest.raises(ValueError) as caught:
|
|
70
|
+
with diagnose_tracker_assertion(object(), lambda: None):
|
|
71
|
+
raise original
|
|
72
|
+
assert caught.value is original
|
|
73
|
+
assert capsys.readouterr().err == ""
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
def test_payloads_and_exception_text_never_enter_record(capsys):
|
|
77
|
+
payload = "/synthetic/private --token=not-a-real-secret"
|
|
78
|
+
state = tracker(path=payload, command=payload, environment=payload)
|
|
79
|
+
state.seen, state.failed = payload, payload
|
|
80
|
+
def broken():
|
|
81
|
+
raise PermissionError(payload)
|
|
82
|
+
with pytest.raises(AssertionError):
|
|
83
|
+
with diagnose_tracker_assertion(state, broken):
|
|
84
|
+
assert False, payload
|
|
85
|
+
data = record(capsys)
|
|
86
|
+
assert payload not in json.dumps(data)
|
|
87
|
+
assert data["seen"] == data["failed"] == "unknown"
|
|
88
|
+
assert data["job_read"] == "error" # No inferred OS failure cause.
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def test_output_failure_preserves_original(monkeypatch):
|
|
92
|
+
original = AssertionError("original")
|
|
93
|
+
def broken(*args, **kwargs):
|
|
94
|
+
raise OSError("synthetic output failure")
|
|
95
|
+
monkeypatch.setattr("builtins.print", broken)
|
|
96
|
+
with pytest.raises(AssertionError) as caught:
|
|
97
|
+
with diagnose_tracker_assertion(tracker(), lambda: (0, 1)):
|
|
98
|
+
raise original
|
|
99
|
+
assert caught.value is original
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
@pytest.mark.parametrize("value", [(-1, 5000), (True, "synthetic")])
|
|
103
|
+
def test_accounting_values_are_bounded(capsys, value):
|
|
104
|
+
with pytest.raises(AssertionError):
|
|
105
|
+
with diagnose_tracker_assertion(tracker(), lambda: value):
|
|
106
|
+
assert False
|
|
107
|
+
data = record(capsys)
|
|
108
|
+
assert data["job_active"] == data["job_total"] == "unknown"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|