逆向工程 ANE
https://cra.sh/public_html/strlcpy3/iosmacos-exploit-chain-cve-2022-32845-32948-42805-32899-weightbufs
一个 Rust 的实现
https://github.com/computer-graphics-tools/ane
Post #626
524
DPS Build 昨天看到一个逆向工程 Apple ANE 的项目,于是顺手丢给 Claude 改了改跑 Qwen 3.5 的 dense model。 一开始效果一般,只能跑通 0.8b 的模型,4b 和 9b 都跑不起来。因为 ANE 有119 kernels 的限制。 今天看到 ANE-LM 这个项目,有更多的创新,于是又让 Claude 改了改,这下三个模型都能在 M4 Pro 上跑起来了。 效果见截图,模型越大,ANE 的优势越明显。 - Opt 1: Saves ~64KB zeroing × 96…weightBufs 🔥 exploit ⛓️ chain WeightBufs achieves kernel memory read and write capabilities on some versions of iOS & iPadOS 15 and macOS 12.