Tag

VisionKit

1 views collected around this technical thread.

DaTaobao Tech
DaTaobao Tech
Nov 6, 2023 · Mobile Development

Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking

By reverse‑engineering the iOS 16 WKWebView image‑analysis crash, the team identified a nil‑buffer bug in VisionKitCore’s CGImage creation, then mitigated it by runtime‑hooking VKCRemoveBackgroundResult’s createCGImage (returning NULL) and suppressing the image‑analysis gesture, reducing crashes from thousands to near zero.

HookingVisionKitWKWebView
0 likes · 29 min read
Analyzing and Fixing iOS 16 WKWebView Crash via Reverse Engineering and Hooking