We used Quint to find over 10 bugs in SQLite while hardening Turso

Turso 커뮤니티 멤버가 Quint라는 형식적 검증 도구를 활용해 SQLite C API를 모델링하고 테스트하면서 SQLite에서 10개 이상의 버그를 발견했다. Quint는 TLA+ 기반으로 상태 추적을 생성해 실제 SQLite 동작과 비교하며, 기존 테스트로는 발견하기 어려웠던 결함을 찾아냈다. 이 과정에서 sqlite3_deserialize() 함수의 크래시 문제 등 중요한 버그들이 수정되었으며, Turso와 SQLite 모두 품질 향상에 기여했다. 형식적 방법론의 실무 적용 가능성을 보여준 사례다.

https://turso.tech/blog/how-we-used-quint-to-find-over-10-bugs-in-sqlite

#sqlite #formalmethods #quint #testing #opensource

How we used Quint to find over 10 bugs in SQLite while hardening Turso

Pavan Nambi used Quint to model the SQLite C API, generate traces, and run them against SQLite. The exercise hardened Turso and surfaced over 10 bugs in SQLite itself.

I was on Func Prog Podcast talking about formal methods, model checking, TLA+ and Quint! Here are the links in case you want to check it out:

YouTube: https://youtu.be/zKERmkonANM?si=--G5E0HSjyOKvgFQ
Spotify: https://open.spotify.com/episode/4yaIyGbRcG5dBSGSaD3gCa?si=i2m-c89jQ8ON25HmIUjhSw
RSS: https://anchor.fm/s/10395bc40/podcast/rss

#quint #tlaplus #formalmethods

Func Prog Podcast Episode 4 - Gabriela Moreira

YouTube
And, yes, the cafe's named and themed on this guy! I can't say as I've spotted many sharks swimming up the creek though! 🤔😅 #Quint #RobertShaw #Jaws
Extrait de JAWS (1975) – FRIMOULUX.COM

“Situazione disperata ma non seria” di Robert Shaw | Valerio Tagliaferri

RT by @eu_near: In Rome, I joined the #Quint meeting to coordinate efforts for Syria's transition.

With Germany, France, Italy, the UK and US, we reaffirmed the need for an inclusive government protecting all minorities

The EU could gradually ease sanctions provided there is tangible progress.
---
https://nitter.privacydev.net/kajakallas/status/1877617432426168466#m

Kaja Kallas (@kajakallas)

In Rome, I joined the #Quint meeting to coordinate efforts for Syria's transition. With Germany, France, Italy, the UK and US, we reaffirmed the need for an inclusive government protecting all minorities The EU could gradually ease sanctions provided there is tangible progress.

Nitter

In Rome, I joined the #Quint meeting to coordinate efforts for Syria's transition.

With Germany, France, Italy, the UK and US, we reaffirmed the need for an inclusive government protecting all minorities

The EU could gradually ease sanctions provided there is tangible progress.
---
https://nitter.privacydev.net/kajakallas/status/1877617432426168466#m

Kaja Kallas (@kajakallas)

In Rome, I joined the #Quint meeting to coordinate efforts for Syria's transition. With Germany, France, Italy, the UK and US, we reaffirmed the need for an inclusive government protecting all minorities The EU could gradually ease sanctions provided there is tangible progress.

Nitter