codesign an old Director projector on OS X 10.13 - perhaps manipulate __LINKEDIT segment value

前端 未结 3 1656
一向
一向 2021-01-24 06:55

(See Updates at end of this post)

For $reasons, I need to codesign an old Director projector that we can no longer re-publish (no access to original source code or to Di

3条回答
  •  执笔经年
    2021-01-24 07:26

    __LINKEDIT's File Offset + File Size should be equal to physical executable size. You can tinker with File Size in MachOView by double clicking the value, editing it and saving - the executable should be fine. Just don't touch File Offset because this will definitely break it.

提交回复
热议问题