The public xvmp tree ships a compiler half that was never compiled (no TU includes the virtualizer headers; on dev trees they do not build), a weak empty vm_exec stub, silent skips for unsupported IR, and a companion article describing an earlier prototype that is not in the tree. This change completes and measures the chain: - Completed toolchain, merged into all four omp branches of that tree: gated new-PM pass wiring (-mllvm -irobf-irvm, section .irvm), FORMAT v3 bytecode (8-byte aligned slots, explicit load/store widths, stable CC_ cast kinds, per-index GEP byte scales, branch condition = operand 0), a strong-symbol vm_exec interpreter with a 23-check unit suite, and a VMP.h user header. Virtualized vs native output identical at -O0/-O1/-O2 on all four branches. One branch's ungated IRVM call in Obfuscation::runOnModule (rewrote .irvm functions in plain native builds) removed; IRVM is strictly flag-gated. - Fixture measured end to end (fco+bcfobf+subobf+IRVM build): native-identical output; 17,961-step guest trace via VMP_TRACE; 24.6M-instruction host trace via a ptrace single-stepper; vm_handler_slice yields 95,184 segments / 18 unique signatures; the fla outer state machine separates as a shuttle class, round-boundary segments split the trajectory, positional alignment names every handler segment (59/59 in a round; counts match the guest histograms exactly), zero unmapped with --opcode-map. - Tooling hardening measured on the real fixture: opcode maps key by signature (first-block keys collide under a shared dispatch successor); apply_map keeps first-block keys as fallback, regression tests added. - Environment boundary recorded: frida stalker does not work in these containers (measured past the syscall layer: primitives pass, agent loads, zero denied syscalls; the failure is inside the injected agent's hook machinery), an outer ptrace tracer conflicts with frida spawn, and the ptrace stepper is the working host capture path. Design lesson: a pure virtualized call can still be LICM-hoisted by the compiling optimizer. Records: EXTENSION-sampling-crash.md SS5-SS6 (final-state rewrite), known-limitations.md, ete-diff-tracing.md SS5, vm_handler_slice.py header, capability matrix.
7.5 KiB
Coverage inventory — the per-route list behind SKILL.md's Coverage section
SKILL.md states the rule: do not apply the nearest available procedure to a target it was never
written for, and label every claim observed / inferred / unverified. This file is the list that
rule needs — which routes are covered, by what, and how strong the evidence actually is.
Load it when the question is "can this skill actually do X", or before quoting a coverage claim
as if it were verified. references/coverage-and-limits.md carries the same material as a claim
ledger with the per-item evidence; this file is the inventory you can read in one pass.
Covered, by verified mechanisms
These have a command and an output behind them somewhere in the evidence record (repository root,
the evidence record condensed in references/evidence-summary.md §Where the full record lives, not shipped with the skill).
| Area | Route, in one line | Where it lives |
|---|---|---|
| Client-side ads, promos, splash/popup/tab config | includes server-issued UI config that has no SDK to find | ad-removal.md, server-config-and-updates.md |
| Membership / paywall / feature gates | decide whether it is client-enforceable at all, and say so when it is not | membership-and-limits.md, account-gates.md |
| dex-level surgical patching | equal-length byte edits, dexlib2 method rewrite, header/verifier/alignment rules | dex-patching.md, byte-level-patching.md, patch-audit.md |
| Whole-APK dex indexing and query | locate classes and references before reading code: rasc/droidasc for findrefs, dexsql for SQL joins and aggregates (callers, field accesses, numeric constants, debug lines, annotations) — all four indexers cross-checked for identical class-definition sets on four archives |
rasc-and-droidsaw.md, dexsql-sql-query-layer.md |
| Repack, sign, install | including the install refusals that look like a broken build | repack-and-sign.md |
| Packers, custom loaders, code virtualization | identification, the validation boundary, the routes that survive it | packers.md, code-virtualization-and-custom-linkers.md |
| Java2C vs extraction shell vs JNI sinking | the misdiagnosis that sends you hunting a decrypted DEX that never exists | java2c-and-jni-sinking.md, scripts/java2c_probe.py |
| Native layer | .so hosts, tamper-triggered self-termination, forged ELF, neutralising a terminate path |
native-and-so.md, native-tamper-and-suicide.md |
| Flutter / Dart AOT | analysing and patching libapp.so given a snapshot dump |
dart-aot.md |
| Runtime and server side | Frida analysis, API probing, feature-scoped TLS failures, update/forced-upgrade neutralisation | dynamic-frida.md, server-api.md, tls-and-cert.md, updates-and-forced-upgrade.md |
| Verification discipline | the claim ladder, control builds, capture-and-look, bounded waits | verification.md, long-task-discipline.md |
Also covered, by documented routes — mostly inferred rather than measured
Read the qualification, not just the name: for these the mechanism is documented and the end-to-end route was not measured on this repository's evidence. Treat them as leads with a stated boundary.
| Area | What it gives you |
|---|---|
| Module-side delivery | an LSPosed/Xposed module when a repack is refused — lsposed-and-modules.md |
| Extraction shells and the VMP boundary | how to measure that the bodies are empty, and where recovery stops — advanced-unpacking.md |
| Calling a routine instead of reading it | emulation (Unidbg/Unicorn) versus service-ifying the live function over Frida RPC — emulation-and-rpc.md |
| Instruction-level tracing | Stalker traces and the trace-to-CFG route against OLLVM, with its measured boundaries — native-dbi-and-deobfuscation.md |
| Protocols beyond REST | schema-free protobuf, gRPC frames, QUIC/HTTP3 limits, native-side pinning — protocol-reverse.md |
| When userspace hooking cannot reach the check | raw svc, init_array-early detection, the kernel-route map and its version gate — kernel-and-environment-hardening.md |
| Split APK / App Bundle sets | reading a set, merge versus unified re-signing, the install refusal each mistake produces — split-apk.md |
| Dex-VMP differential analysis | the known-plaintext route, what it can and cannot automate — vmp-differential-analysis.md |
| Kernel-module templates | a scaffold and its version gate; a userspace module cannot change a syscall return value — kernelsu_syscall_mask.py |
| Hardware watchpoints (ptrace) | who reads/writes one address with zero code change, the encoders host-tested and the helper compiled — never armed on a device here — hardware-watchpoints.md |
| ETE differential tracing | two one-bit-different runs into the input-dependent block set; gates probed by script, producer unverified — ete-diff-tracing.md |
| SPE/BRBE sampling and crash forensics | data flow without a known address, branch records past an untrustworthy stack, addresses→symbols — hardware-sampling-and-crash.md |
| Interpreter-trace de-virtualization | handler slicing + guest-opcode trajectory, calibrated on an open IR-VM's source — vm_handler_slice.py |
| Native VM recovery procedure | the absorbed method end to end: dispatcher separation, register anchoring, nested stacks, operand slicing, re-VM validation — native-vm-recovery.md |
| Kernel-side event injection | watchpoints and register rewrites from a driver, as gated templates — kernel-event-injection.md |
| Working from the phone itself | MT Manager edit/repack/sign and its APK MCP, LSPosed Manager, Termux — on-device-tooling.md |
| Publishing without publishing the target | the leak scanner, the do-not-anonymize list, and the graded precedent library — desensitization-and-leak-scans.md, scripts/scan_leaks.py, precedents/ |
Dependencies this skill does not ship
Each of these is a fence, not a caveat: the route above it stops here unless you obtain the dependency yourself.
- Dart AOT analysis needs a snapshot dump, and which front end produced it matters (
dart-aot.md§1–2). smaliround-trip needs baksmali/smali/dexlib2 jars — not bundled;APKREV_JARSpoints at them.- Repack-and-sign needs
zipalign+apksigner(oruber-apk-signer); a JVM alone is not enough, which is exactly whatscripts/doctor.pynow refuses to report as OK. - Device work needs
adbplus a device the app does not object to; dynamic work additionally needs afrida-servermatching the host version. - A kernel-side answer needs a module and a kernel that accepts it — the version gate is in
kernel-and-environment-hardening.md; the instrumentation templates add their own (the kernel's perf breakpoint layer must exist —kernel-event-injection.md). - The ETE route needs coresight hardware this skill cannot conjure — an ETE/TRBE-capable core,
a kernel with the drivers, and a perf built against OpenCSD; without them the route is closed,
not expensive (
ete-diff-tracing.md).
Not covered — say so rather than improvise
Unity / IL2CPP logic recovery · React Native, Hermes bytecode and Cordova internals · iOS of any kind · defeating a server-side authority · an off-the-shelf unpacker · an anti-detection arms race · building and shipping a kernel module · a Stalker trace guaranteed on every device.
Each has a reason and, where one exists, an evidence boundary — in references/coverage-and-limits.md.
Silence in that record is not support, and a route that is only "documented" is not a route that
was measured.