Skip to content

Refactor relocation loading to allow loading relocations from external sources #403

Open
@twizmwazin

Description

@twizmwazin

Description

Currently relocations for elf and pe backends are only read from their own relocations directory. This design is not extensible and does not allow for more relocations to be added by external sources without changing the source of cle itself.

Alternatives

No response

Additional context

Allowing other programs to add relocations allows programs to develop custom relocations that might not be suitable for general use, or might prefer not to have to use a modified version of cle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions