An interesting quirk of the ISO 9660 standard is that the first sector of the disc is explicitly undefined, in order to accommodate a platform-specific boot sector. I sometimes wonder how many platforms could be accommodated by a single "polyglot" disc image.
> The Makefile will download cosmocc automatically.
What can go wrong ?
> It's recommended that you install a systemwide APE Loader. This command requires sudo access to copy the ape command to a system folder and register with binfmt_misc on Linux, for even more performance.
An interesting quirk of the ISO 9660 standard is that the first sector of the disc is explicitly undefined, in order to accommodate a platform-specific boot sector. I sometimes wonder how many platforms could be accommodated by a single "polyglot" disc image.
Bootable whatever polyglots are a recurring feature in PoC||GTFO, which I find to always be an enlightening read: https://github.com/angea/pocorgtfo?tab=readme-ov-file#0x22
That feels like the ISO equivalent of Cosmopolitan libc [0].
[0] - https://github.com/jart/cosmopolitan
> The Makefile will download cosmocc automatically.
What can go wrong ?
> It's recommended that you install a systemwide APE Loader. This command requires sudo access to copy the ape command to a system folder and register with binfmt_misc on Linux, for even more performance.
A security nightmare.