SELF makes the executable a SQLite database, with a live webserver whose program, site and state are one file
Farid Zakaria's Self-Executing Linux Format uses binfmt_misc to hand the file to a self-exec interpreter that maps rows from a `segments` table and jumps to the entry point, with the program reading its own file via the path in argv[0]. Symbols, relocations and application data all live in tables in the same file. The demo at selfdb.exe.xyz is a webserver holding routes, visits and presses tables and reports 13 segments, 179 symbols, 105 relocations, 2 needed libraries, 3 routes, 12 tables, 103 visits and 24 presses, all queryable from inside the running process and updatable by transaction without a restart. The payoff he claims is ACID deployments, `sqldiff` audit trails and single-file scp distribution.
↳ Follow the thread