r/programming • • Aug 03 '26

Reliability Lessons From SQLite - Richard Hipp | SSW 2026

https://www.youtube.com/watch?v=V_qzqY1bb7I
110 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/levodelellis Aug 05 '26

AFL and libfuzz found so many bugs

When you have full branch coverage, the fuzzers can look at the inputs and have an idea how to reach them all, then it does strange and surprising changes to break your code.

Shouldn't the same motto not cover keeping asserts enabled?

assert(cond);
if (!cond) return ERROR

asserts producing extra code to tell you what line failed is not necessary for release, and the error is handled by other code