ASAnalyst uses LLM to patch AppScript crashes

sicpers.info5 min read

The author explores the feasibility of Continuous Validation and self-healing software by building ASAnalyst, an automated system that uses an LLM to intercept uncaught exceptions in an Objective-C interpreter, diagnose errors, and patch the code. Testing 216 synthesized crash reports across Apple's on-device model and several open-weight models, the author found that while performance is currently limited—with the best model achieving a 69% valid patch rate and 12% correct recovery behavior—the approach is practically feasible. Open article →