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 Code (“MemoryBasedBundle.zip”, 36.1K)



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.