Skip to content

Modloader should probably be a shared library that chainloads mods #6

@j005u

Description

@j005u

Rather than loading each modification as a .so individually modloader should be the only thing getting LD_PRELOADED and it should chainload the mods.

A naive approach of dl_open() on each of the .so-s does not work because the symbols don't become visible to the necessary context. Attempts at setting the context properly have failed because our related headers don't have the necessary GNU extensions.

This would allow for better error management and probably many other benefits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions