3 ms·
At least for the linux kernel, qemu and other large c projects, this is a solved problem with coccinelle[1]. Compared to AI, it has the added benefit of not doi
by nolist_policy 3y ago
At least for the linux kernel, qemu and other large c projects, this is a solved problem with coccinelle[1]. Compared to AI, it has the added benefit of not doing incorrect changes and/or hallucinating stuff or promt injections or ...
I guess you could use AI to help create a coccinelle semantic patch.
[1] https://en.wikipedia.org/wiki/Coccinelle_(software) https://en.wikipedia.org/wiki/Coccinelle_(software)
- dataangel 3y agoThe part coccinelle does is the part GPT is good at, the problem is neither of them actually reason about the code