modules/in the flash file system and at boot time inject
modules/*.sointo the firmware memory? (I'd like it to ignore subdirs, reasons on demand.)
dlmopencan provide a custom namespace.
fdlopenif available can at least load from a file descriptor instead of requiring the library to have a path on a file system, so someone here used it to read from a memory-backed file, and there's a proof of concept project to demonstrate that the file burden is (as expected) entirely a historical choice.