~/talk

(Android) Transformers - bytecode in disguise!

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [security]
slides:none on file

Explains how Firebase Performance finds every HTTP call by rewriting compiled classes at build time using the Android Transform API and ASM rather than runtime agents, changing invokevirtual calls (e.g. URL.openConnection) into invokestatic calls that forward into a small companion runtime which decorates URLConnection to count bytes and timings, supports URLConnection/Apache/OkHttp, requires incremental transforms for speed, and warns never to transform the companion library to avoid infinite loops; includes an open source sample.

AI-written summary · about

  1. 0:00Introduction
  2. 3:20Firebase Performance Monitoring
  3. 11:40Gradle Transform API
  4. 14:06Bytecode manipulation with ASM
  5. 23:08Finding HTTP transaction patterns
  6. 26:16Redirecting method calls
  7. 33:35Runtime instrumentation
  8. 34:15Tips for writing transforms
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.