InfoQ 中文T2·78 pts
Google Uses Gemini and Differential Fuzzing to Rewrite C Library in Rust, Fixing Zero-Day
Original: 谷歌借助 AI 与差分模糊测试将 C 语言依赖库改写为 Rust
- Adopted a three-stage automated migration pipeline: 'Gemini initial translation + manual FFI calibration + differential testing feedback' to address AI limitations in pointer ownership and lifetimes.
- The generated Rust library maintains ABI compatibility with the original C library, allowing direct replacement of shared objects without modifying downstream callers.
- Successfully fixed an undisclosed heap-write zero-day vulnerability and removed sandbox isolation in production, proving the performance viability of memory-safe replacements.