Tools
selfdb makes a SQLite database the executable format, with binfmt_misc running it and strip implemented as a DELETE
fzakaria/selfdb, created 2026-08-23 and at 292 stars, defines SELF (Structured Executable and Linkable Format), where the rows are the binary rather than a SQL view over ELF as in the author's earlier sqlelf (arXiv:2405.03883). It ships elf2self and self2elf converters, a binfmt interpreter with three modes (memfd rebuild-and-execveat, native segment mapping, and selfld which binds symbols via SQL), and an LD_AUDIT library that makes stock glibc load .self shared libraries. The demo is self-httpd, a webserver whose program, pages and visitor log are one file it opens as argv[0], live at selfdb.exe.xyz.
Source
↳ Follow the thread