~/talk

Playing With the Limits: Can Your App Run Arbitrary Binary

Talkat Swift Connection 2023 · 2023-09-21..09-22· [ios, security]
links:none on file
slides:none on file

Explains a working experiment that loads dynamic frameworks on iOS using dylib + dlopen, shows how code signing and the Mach‑O loader block frameworks not embedded in the app bundle, and documents a TestFlight rejection and a crash when Xcode is detached. Demonstrates a workaround by shipping a signed framework inside the bundle, explores hooking Swift symbols, and prototypes running WebAssembly via a small interpreter as a JIT‑free hot‑update path with measurable speed tradeoffs and codesign issues and WebAssembly interpreter.

AI-written summary · about

  1. 0:00Introduction and talk goals
  2. 1:12What is side loading
  3. 8:56Apple review rules and spirit
  4. 10:12Compiling and linking basics
  5. 17:27Static vs dynamic libraries
  6. 26:04Mach-O files and sections
  7. 32:09Startup time and dependencies
  8. 36:56Hooking functions in memory
  9. 45:22Loading arbitrary binary code
  10. 53:36iOS framework loading limits
  11. 57:10W^X memory security principle
  12. 58:38JavaScript and WebAssembly on iOS
  13. 1:03:23Live demo in production app
~/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.