Imagine if your executable was not just a binary, but a SQLite database. This provocative idea rethinks how programs are structured and analyzed, proposing to replace the traditional ELF format with a SQLite database.
The author, Farid Zakaria, developed a prototype called SELF (Structured Executable & Linkable Format) and even a tool, sqlelf, that lets you query ELF files using SQL. This means you could run SELECT name FROM elf_symbols instead of fiddling with readelf and grep.
This is a fundamental shift in systems programming, merging database principles with executable design. It unlocks immense possibilities for declarative binary analysis, improved security, and potentially novel linking and loading mechanisms.
This is not just a theoretical exercise; it is a glimpse into a potential future for executable formats, offering deep insights for any engineer keen on low-level systems and database internals.









