Cyber Risks · Trail of Bits Blog

Wrapper

Summary: A Trail of Bits intern built a new C++ SQLite wrapper from scratch in under 750 lines of code, released under the Apache 2.0 license at github.com/trailofbits/sqlite_wrapper. The work came out of an internal Clang-based code-auditing tool that moved its backend from RocksDB to SQLite after the key-value store proved too rigid for increasingly complex queries.

Bottom line: The wrapper exists because none of the existing C++ SQLite wrappers met the team's criteria for being lightweight and able to handle concurrency - a gap a security leader's own tooling teams may hit when a key-value database backs them into a corner as query patterns change.

Read the original at Trail of Bits Blog ↗