Version: 1.1

Posted: 2005-08-10

Build Requirements: Xcode 2.1

Runtime Requirements: Mac OS X 10.3 or later

View Source Code:

Download Sample (“MemoryBasedBundle.zip”, 36.6K)
Download Sample (“MemoryBasedBundle.dmg”, 92.6K)



Description

MemoryBasedBundle is a sample that shows how to execute Mach-O code from memory, rather than from a file. If you're trying to port from CFM to Mach-O, and you're looking for a replacement for GetMemFragment, this is the sample is for you.

Document Revision History

Date Notes
2005-08-10Updated to produce universal binaries. Necessary code changes are documented within the project.
2005-03-22Shows how to execute Mach-O code from memory, much like GetMemFragment in CFM.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.