Taking testing to the next level
summary
Frida is used to inject and manipulate running processes: examples include inject connect to return -1 (ECONNREFUSED=61) to simulate network failures, and loading a TypeScript agent (V8 JIT enabled) that exposes a REST API on port 1337 reading health=100 shells=25 and a POST /attack that presses and releases input with a 50 ms hold, all demonstrated working; Python RPC calls into the agent too. A C++ sanity checker finds block leaks (one 6‑byte block, traced blocks including a recurring 140‑byte leak), and samplers, profilers and Chrome inspector debugging are shown.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 1:33Inject on network failures
- 6:15Demo
- 6:35Adding testing API
- 7:30Adding REST API
- 8:05Free to compile
- 10:05Code
- 12:25Adding more code
- 13:40Reading client state
- 22:35Post endpoint for attacking
- 27:05Python API
- 40:15Other use cases
- 41:15Debugging
related talks
18mPreview: Verification (Correctness & Debugging)
39mTesting Level Hard: Distributed Apps
43mDebug Like a Scientist!
24mFrom Bugs to Brilliance: Testing Toolbox in Action
53mFuzz Testing for Fun and Profit
38mFlorian Rappl: Testing CLI Utilities
59m.NET Testing Techniques You Didn’t Know You Needed
01h 06mHow hacking works
