A loader with no file behind it. The canonical generator of the runtime-only pile
Dalvik bytecode reference
Tier 4 for the managed side
Arm Architecture Reference Manual (A-profile)
Tier 4 for the native side. adrp, ldrb, cmp, b.ne — the four instructions §6.1's gate is made of
AOSP file paths are stable and safe to cite; line numbers are not. Name the function. Every
path above was chosen because it survives across releases; none of them is quoted with a line
number anywhere in this chapter.
The tools, and which question each answers fastest¶
Link
Reach for it when
skylot/jadx
You want a readable hypothesis about managed code fast — and you remember it is tier 3
smali/baksmali, dexdump
You need tier 4 on the managed side, or jadx refused the method
Ghidra
You need to read native code you cannot run, or you need JNIEnv typed properly
llvm-objdump, llvm-nm, llvm-readelf (NDK)
Native triage in seconds: exports, sizes, call targets, sections
Frida
You need tier 5 or 6 — what ran, with what values, and what changes if you alter it
apktool
You need resources and the manifest as text, or you intend to rebuild
aapt2
Identity and badging in one line: package, version, ABIs
apksigner
Signer identity, before you report on an artefact you assumed was the vendor's
The tracker is a first-class reference. Every one of these tools has a public issue tracker
documenting what it gets wrong. When your output disagrees with the binary, search there before
concluding anything about the target — and if it is genuinely new, a minimal reproducer filed
upstream is worth more than a blog post.
Platform-integrity validation — the controls in 37-RootDetection and 38-TamperDetection that this activity meets
MASVS-RESILIENCE-2
Anti-tampering and anti-static-analysis. 40-Obfuscation owns the techniques; §3.13 owns what they do to your method
MASVS-RESILIENCE-3
Anti-dynamic-analysis. 67-BypassingProtections owns the response
MASVS-RESILIENCE-4
Difficulty of comprehension — the only control this chapter's activity is directly measured against
MASTG reverse-engineering procedures
The MASTG describes procedures; §3 is the framework for choosing among them
OWASP Mobile Top 10 — M7, Insufficient Binary Protections
Where "the app can be decompiled" belongs, and why it is not a finding on its own
RFC 2606
Reserves .invalid. Every endpoint in this chapter's code uses it, so nothing can resolve
The resilience trap, stated once. MASVS-RESILIENCE controls are explicitly defence in depth
against a client-side attacker, and the standard says so. A resilience finding never substitutes
for a MASVS-AUTH or MASVS-CRYPTO one. "The app can be reverse engineered" is a property of every
application ever shipped. What you report is what the reverse engineering let you do.
You are starting an investigation. Refuses a hypothesis with no refutation test, a verdict with no observation, and a question closed as answered on one source. selftest verifies all of that
40 owns the techniques and §6.1's nine-phase recovery pipeline. This chapter is the general method 40 §6.1 specialises; §3.13 covers only what obfuscation does to your method
Vantage matters: ~1,062 to root, ~678 to shell, ~638 to app -- properties visible to shell, 634 to untrusted_app. Prove reachability from an app, not from the shell
Its FLAG_SECURE measurement — a true-positive rate of zero for grepping an APK, because javac folds 0x2000 — is this chapter's thesis proved by another chapter
Its volatile-loop scrubbing argument, arrived at from the opposite direction to §3.9's
Referenced by directory name when this chapter was completed, and since written — now linked:
58-IDA, 59-radare2,
72-RealWorldFindings and
74-CaseStudies. Still named rather than linked because their
READMEs do not yet exist: 73-Labs, 76-CheatSheets, 78-Diagrams.
The measurements this chapter rests on, with what each one licenses you to say. Quote them with
their denominators or not at all.
Measurement
Figure
What it licenses
Native boundary, 18 real APKs
8,140 declared, 1,049 (12.9%) symbol-resolvable
That symbol lookup answers about one native method in eight — in base.apk, for one ABI, on one device
Chrome 147.0.7727.111, static vs runtime
323 declared, 6 resolvable, 509 bound
That the artefact you pulled is not the program. Chrome ships seven APKs
RegisterNatives trace reproducibility
78 calls / 509 methods, three identical runs
That the runtime figure is stable — and that Frida's -o file dropped 19 lines, so read the in-process counter
jadx refusals on a 17.5 MB APK
console 61, tree 2,104
That you count the tree, never the summary
Static HIGH band, adjudicated by hand
15 of 17 rejected
That confidence ranking is not severity ranking
Leak hunter on real Chrome data
132 hits, 132 false positives
That a sweep produces leads, not findings
Self-signature detector, before and after hardening
18/18 → 13/18
That a detector agreeing with every sample is a broken detector
Grepping an APK for FLAG_SECURE
true-positive rate 0
That a correct search can produce a worthless answer
Kotlin metadata, 19 APKs / 316k classes
10 none, one 1,393 empty shells, zero wholesale recovery
That property names survive structurally, and nothing more
Broadcast surface visible statically
299 of 431 actions (69%) have no manifest receiver
That your artefact-based tooling is blind to the majority
Properties by vantage
~1,062 to root, ~678 to shell, ~638 to untrusted_app
That you prove reachability from an app, not from the shell
This chapter's own hypotheses
7 of 9 refuted
That most hypotheses dying is what a healthy session looks like
This chapter's own call-site grep
false negative on PLT calls
That the showcase experiment needs (@plt)? and a corroborating listing
The last row is the one to remember. It is a defect found in advice this chapter had already given,
by turning the chapter's own method on the chapter's own tooling — which is the only way that defect
was ever going to surface.