(Android) Transformers - Bytecode in Disguise!
summary
A talk explains how Firebase Performance Monitoring detects and reports HTTP traffic by rewriting app classes at build time using the Android Transform API inside a Gradle plugin. The plugin performs bytecode manipulation to rewrite call sites and insert runtime hooks for three HTTP stacks (URLConnection, Apache, OkHttp), allowing interception and measurement of real network traffic without a runtime network-listening agent.
AI-written summary · about
chapters (7)
- 0:00Android transformers intro
- 5:43Core API and bytecode
- 12:06Bytecode tools & techniques
- 18:48Transformer implementations
- 25:12Debugging transformer code
- 30:00Use cases & best practices
- 33:03Q&A
related talks
43m(Android) Transformers - bytecode in disguise!
37m(Android) Transformers - bytecode in disguise!
42m(Android) Transformers — Bytecode in Disguise!
40mIntroduction to Bytecode Instrumentation with AGP 8
26mBuild-Time Auto-Instrumentation in Android
39mBytecode Transformations: Exploring new AGP APIs for instrumenting your app
45mReverse engineering mobile apps: how, why, and what now?
49mByteWeaver: Bytecode Instrumentation for the Greater Good
