Maybe we could look at how the upx is doing compression of macho files.
Upx could contain any ideas how to properly modify macho executables.

  http://upx.sourceforge.net/

We could use machoview to examine bootloader and macho headers.

  http://sourceforge.net/projects/machoview/

Jeff Keacher píše v Út 11. 12. 2012 v 11:41 -0800:
> I took a look at macholib just now, and it seems like it would be able
> to get us most of the way there, at least as far keeping the headers
> updated. 
> 
> Here's a post on StackOverflow that describes embedding arbitrary data
> at link time: 
> 
> http://stackoverflow.com/questions/1604673/how-do-i-embed-data-into-a-mac-os-x-mach-o-binary-files-text-section?rq=1
> 
> 
> 
> Obviously, we don't want to force the user to rebuild the bootloader,
> but experimentation with the -sectcreate flag on ld should provide
> some illumination about how the data is supposed to be embedded in the
> executable. 

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pyinstaller?hl=en.

Reply via email to