A few years ago I heard Google had a patch to dlopen a shared object stored inside another file at a non-zero offset, or mmap'd, instead of sitting in its own standalone file. Did that ever land? What's the API for loading these objects?
Did that ever land in Linux mainline?
What's the API for loading these objects?
void *dlopen_with_offset(const char *name, off_t offset, int flags);