search for: headerpad

Displaying 2 results from an estimated 2 matches for "headerpad".

Did you mean: headerpage
2019 Oct 11
2
contributing llvm-install-name-tool
...the new MachO header, the other parts of the binary are copied over (in particular, if I'm not mistaken, it assumes that the new "prefix" (MachO header + load commands) fits into the binary so the offsets don't need to be recalculated, otherwise suggests to relink the binary with -headerpad / -headerpad_max_install_names / reports an error). One possible (and simple) approach is to implement llvm-install-name-tool in a similar fashion: use libObject to parse the input binary and rebuild the list of load commands (analogously to what cctools' install_name_tool does (and with the s...
2019 Oct 14
2
contributing llvm-install-name-tool
..., the > other parts of the binary are copied over (in particular, if I'm not > mistaken, it assumes that the new "prefix" (MachO header + load commands) > fits into the binary so the offsets don't need to be recalculated, > otherwise suggests to relink the binary with -headerpad / > -headerpad_max_install_names / reports an error). One possible (and > simple) approach is to implement llvm-install-name-tool in a similar > fashion: use libObject to parse the input binary and rebuild the list of > load commands (analogously to what cctools' install_name_tool...