-/* JocStrap - Java/Objective-C Bootstrap
- * Copyright (C) 2007 Jay Freeman (saurik)
+/* ldid - (Mach-O) Link-Loader Identity Editor
+ * Copyright (C) 2007-2010 Jay Freeman (saurik)
*/
/*
size_t size = _not(size_t);
const char *arch; {
Framework framework(path);
- framework->flags |= MH_DYLDLINK;
+ framework->flags = framework.Swap(framework.Swap(framework->flags) | MH_DYLDLINK);
_foreach (load_command, framework.GetLoadCommands()) {
uint32_t cmd(framework.Swap((*load_command)->cmd));