~/talk

Hooking Swift (the hard way)

Talkat next.app devCon 2026 · 2026-10-07..10-09· [security]
links:none on file
links:none on file
slides:none on file

Shows how Frida treats Swift as native code by reading calling conventions (X0, X8, X20), building a trampoline and a makeSwiftNativeFunction to call Swift functions, and dumping CryptoKit keys and HKDF inputs/outputs (demo prints the hardcoded symmetric key on iOS 27). Explains walking witness tables to resolve hash function names, then reimplements a lazy Swift bridge plus a unit test runner Ingest with ~1,100 tests, adds closures, async hooks and C-side lookups; demos succeed for key dumps and async HTTP hooks.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:06Hooking Swift the hard way
  3. 18:31Introducing the Swift bridge
  4. 21:20Testing framework Ingest
  5. 24:49Simpler Swift hooking demo
  6. 30:01Async function hooking demo
  7. 31:26Swift bridge API overview
  8. 39:14Limitations and future
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.