insert_dylib icon indicating copy to clipboard operation
insert_dylib copied to clipboard

__LINKEDIT segment is not at the end of the file

Open summer1988 opened this issue 9 years ago • 2 comments

When I use insert_dylib to inject a binary file, it tell me a warning: Warning: __LINKEDIT segment is not at the end of the file, so codesign will not work on the patched binary. how can i do to solve it?

summer1988 avatar Oct 12 '16 11:10 summer1988

You can't use this tool and get codesign to work afterwards if __LINKEDIT segment is not at the end of the file.

I don't think there is an easy fix for this.

tyilo avatar Nov 09 '16 20:11 tyilo

same problem here I have this warning and the binary get killed 9 after ldid -S on iOS 11.3.1

ChrisYang2009 avatar Nov 07 '18 05:11 ChrisYang2009