Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kojolina
· 1y ago · 0 comments
Just bang out a bunch of C code, feed it to an AI: "Make this memory safe". Profit.
No need for rust, Ada, CHERI, SPARK, etc.
Comments
[–]
pjc50
1y ago
You could also pray, that's about as likely to be effective.
[–]
GoblinSlayer
1y ago
A rewrite isn't strictly necessary. It should be enough if AI can find errors, doesn't even need to be very precise.
[–]
saagarjha
1y ago
Profit from your AI-powered security company, sure. But the exploit authors are profiting too.
[–]
BiteCode_dev
1y ago
Now the billion dollar question, how to make that work for the entire linux kernel.
[–]
cjfd
1y ago
If it is too big just zip it and feed chunks of the resulting zipfile to the AI. AI can do anything, right?
[–]
oneshtein
1y ago
It will work if you convert zip chunks to base64 first, and use a large enough training set.
[–]
ahartmetz
1y ago
Should work fine if the training set is a memory-safe, full-featured, monolithoc, Unix-like operating system kernel originally written by a certain Linus Torvalds.
[–]
nottorp
1y ago
Easy, triple the hardware requirements and don't talk to any hardware because if you do you'll have to mess with buffers in a non approved way.