← Lab /Security & privacy

Production Android builds lose debug symbols but keep runtime structures usable for forensics

Even after extensive symbol stripping, Android's heap and garbage collector layouts remain unchanged enough for forensic offsets to work on real devices

Security & privacy arXiv 15 Jul 2026 Measurement Real-world evidence

Published as “Assessing the Forensic Viability of Android Memory Analysis Across Production Builds: A Cross-Version Study of Security Hardening and Structure Preservation”

Why it matters

Forensic investigators can still locate and read core ART structures on modern stripped Android devices using offsets from a matching unstripped build, but they must obtain version-specific offsets and cannot rely on cross-version reuse.

Summary

Static symbols in libart.so drop from 20,495 on Android 8 to zero on Android 15, yet the core ART structures and the Runtime instance symbol remain intact, allowing a version-matched forensic tool to locate and read the Runtime object on a stripped production device. The authors quantified a 60% reduction in dynamic symbols and demonstrated live recovery of the Runtime, Heap, and BumpPointerSpace pointers on a Pixel 7 using offsets from an unstripped build. Evidence comes from ELF section analysis of factory images, direct comparison of unstripped and production binaries, and Frida-based validation on a real device, but only for a single device and same-version offsets.

What they found 5

  1. Static symbols are completely removed in Android 15 production libart.so.

    “Static symbols collapsed from 20,495 on Android 8 to zero on Android 15.”

  2. Dynamic symbols drop by roughly 60 percent between Android 8 and Android 15.

    “Dynamic symbols, which cannot be removed without breaking runtime linking, still dropped by roughly 60 percent, from 6,577 (nm -D) to 2,614 (2,618 by readelf’s count; the four-entry difference comes from how each tool handles null and special entries).”

  3. The Runtime instance symbol remains present in the dynamic symbol table of the stripped binary.

    “The Runtime instance symbol itself, _ZN3art7Runtime9instance_E, appears in the dynamic symbol table of both the unstripped Android 8 build and the fully stripped Android 15 production build, marked GLOBAL PROTECTED in both, meaning Google cannot remove it without breaking the runtime’s own ability to link at startup.”

  4. Offsets from an unstripped build correctly locate Runtime and related structures on a stripped Android 15 device.

    “Repeating the same recovery on the Pixel 7 with Frida found the libart.so base address at 0x7125386000; adding the known offset, 0xc0d238, located the instance pointer at 0x7125f93238, and reading that address returned the Runtime object at 0xb400007227ddcc40 (the leading b4 byte is an MTE tag; the untagged address is 0x7227ddcc40).”

  5. All retrieved pointers (heap_, thread_list_, bump_pointer_space_) resolve to valid ARM64 addresses.

    “Every one of these reads resolved to a valid ARM64 pointer: heap_ to 0xb4000071e7ddecf0, thread_list_ to 0xb400007257de2010, and bump_pointer_space_ to 0xb400007297de6210.”

Caveats 5

  • Given Babangida et al.’s finding that most structure offsets shift across versions, there is no reason to expect offsets from a different Android release to resolve correctly against an Android 15 binary, and that crossversion transfer was not attempted here.
  • All production binary analysis used Pixel devices; manufacturers that ship modified ART builds, Samsung, OnePlus, and Xiaomi among them, were not examined, so whether the same stripping and structural preservation hold on nonPixel hardware remains untested.
  • The factory-image analysis covered only the two endpoints, Android 8 and 15, so the exact progression between them, including the precise point at which static stripping became total, is not characterized.
  • The Android 8 memory map came from an x86_64 emulator while the Android 15 map came from an ARM64 device; this mismatch means the comparison reflects both a version and a potential architecture difference, though none was observed.
  • Only system_server was examined; other processes could show different layouts, though system_server was chosen because it exercises the full range of ART’s memory features.

What’s new here 4

  • Quantifies the loss of static symbols and debug info in production Android binaries across versions.
  • Shows that despite full static stripping, the Runtime instance symbol survives in the dynamic table.
  • Demonstrates live recovery of ART structures on a stripped Android 15 device using offsets from a matching unstripped build.
  • Provides the first measurement of the forensic information gap on an actual production device.