mirror of
https://codeberg.org/dabao1955/apk-reverse.git
synced 2026-11-28 03:50:22 +08:00
Absorb gaps from three public reverse-engineering skills
Batch 1 (full): Kotlin original-name recovery (new reference + zero-dep kotlin_name_recovery.py mining @DebugMetadata/@Metadata.d2/jadx rename comments, with -o/-p/--grep query modes); jadx advanced flags and a Fernflower/Vineflower second-engine tier in toolchain.md; BuildConfig sweep habit in recon.md; WebSocket/long-connection state-chain section in protocol-reverse.md. jsvmp-only (batches 2-3): A/B/C recovery ladder with black-box reuse boundary and a wire-parameter family index in jsvmp-recovery.md; new js-ast-deobfuscation.md pipeline layer (family detection, per-family pass order, safe-rewrite rules, minimal bootstrap eval, residue metrics) with js_obf_detect.py weighted detector. Wiring: routing.md/SKILL.md symptom+index rows, coverage-and-limits, route-inventory, evidence-summary, capability-matrix (+3 entries, labels kept honest: scripts observed on fixtures, absorbed methodology unverified). 12 new unit tests. Also: silence two environment-dependent mypy errors (yaml/frida sentinel assignments) and bump mypy python_version 3.9 -> 3.10 with the trade-off recorded. Gates: check_repo/check_refs/check_budget/check_commands/check_routing PASS; pytest 787 passed; flake8 clean; mypy clean.
This commit is contained in:
1 parent
8f32bb5e29
commit
aa9af54854
19 files changed
+1223
-20
No files matched your search
@@ -17,11 +17,19 @@
|
||||
# configuration, on a bare interpreter (no frida/capstone/tiktoken/PyYAML installed), so the
|
||||
# overrides below are exercised rather than skipped.
|
||||
#
|
||||
# Verified locally on 2026-09-22: `mypy` over 55 files reports no issues with the overrides in place,
|
||||
# on a venv containing only mypy and flake8.
|
||||
# Verified locally on 2022-09-22 baseline; re-verified 2026-10-20 after the target bump below:
|
||||
# `mypy` over 64 files reports no issues with the overrides in place, on an interpreter that
|
||||
# also has yaml/frida installed (the ignore comments in check_repo.py and
|
||||
# spawn_patch_detach.py keep both the installed and bare-machine sides clean).
|
||||
|
||||
[mypy]
|
||||
python_version = 3.9
|
||||
# 3.10, not 3.9: mypy releases from 2025 on dropped `python_version = 3.9` as a supported
|
||||
# target and warn on every run. The honest cost: under a 3.10 target mypy stops rejecting
|
||||
# 3.10-only syntax (match statements, runtime `X | Y`), so the SKILL.md "Python 3.9+"
|
||||
# claim is no longer statically guarded -- nothing in the tree uses such syntax, and CI's
|
||||
# oldest actually-executed interpreter is 3.11 (see ci.yml), which is the check that would
|
||||
# catch a real 3.9 break at test time.
|
||||
python_version = 3.10
|
||||
warn_unused_ignores = False
|
||||
|
||||
[mypy-frida]
|
||||
|
||||
Reference in new issue
Block a user