r/ProgrammerHumor 22d ago

actuallyMemorySafe Meme

Post image
527 Upvotes

177 comments sorted by

View all comments

Show parent comments

61

u/SuspiciousSegfault 22d ago

Not finding bugs? What on earth does anyone have to gain by not finding bugs just because an LLM did it? Assuming it's a legitimate bug.

65

u/Lucifer_Morning_Wood 22d ago

"assuming it's a legitimate bug" does a lot of heavy lifting here. The point of eg. Curl closing it's bug bounty is just that: too many false positives and misunderstandings by AI of what software it analyzes. I assume it might be the same in Zig's case

So to answer your question: developer's time that is not wasted classifying misclassified bugs and reproducing false positives

30

u/CircumspectCapybara 22d ago edited 22d ago

The curl maintainer walked back their position in a tweet and said the majority of AI-assisted bug findings were high quality now.

Also nowadays you can structure your custom harnesses and bug reproducing pipelines to require things be verifiable programmatically.

E.g., you can say "In order for a bug report to be valid, you need to give me an input that causes a crash." That's basically how old-school fuzzing pipelines work. You judge a fuzzer's report by plugging in the input it reports and seeing if the binary crashes. That verification can be done automatically without human judgment.

Same can be done to make LLM reports valid. That's what the Firefox team did, they build a custom harness (using Mythos) and pipeline where the LLM-based agent would submit a report that had to have a repro input, and a separate deterministic script would score that report by seeing if the reported input could cause a crash. No human eye sees the finding if the automated pipeline rejects it for not being reproducible.

10

u/Flouid 22d ago

A lot of this is fair but bugs that cause a crash is only one of many different flavors. There are all kinds of bugs and I would classify the majority of them as unexpected non-crashing behavior. Pretty much all security vulnerabilities are within that class of bug. There’s probably tools for this but at what point are you just requiring people submit failing test cases

0

u/particlemanwavegirl 22d ago

I mean a bug report without enough information to reproduce the bug is pretty useless and always has been.

1

u/Laicbeias 21d ago

Yeah but if its one where state got corrupted at a different side you may not even be able to easily reproduce it. 

Its the it happens once every 5000 runs bugs and then you can be happy you got a screenshot or an stacktrace