Skip to content

machocopy example #613

@wolfv

Description

@wolfv

Hi, we're trying to reimplement patchelf and install_name_tool with object and at least for patchelf it seems quite straightforward with the elfcopy example :)

For install_name_tool I seem to miss a way to add load_commands to the writer. Reading the MachO file works well (we're mostly interested in patching / changing the rpath to something relative), and I can read the rpath nicely.

I was wondering if you have a quick tip on how to achieve this.

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