From 1b7da752c83d8adfc849b723caa4c51c2fe8343f Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 26 Jun 2015 21:32:50 -0700 Subject: [PATCH] Align size of a final embedded Mach-O to 16 bytes. --- ldid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/ldid.cpp b/ldid.cpp index 8aa0b4e..1795d34 100644 --- a/ldid.cpp +++ b/ldid.cpp @@ -1009,6 +1009,7 @@ int main(int argc, const char *argv[]) { offset = Align(offset, 4096); allocations.push_back(CodesignAllocation(mach_header, offset, size, alloc)); offset += size + alloc; + offset = Align(offset, 16); } } -- 2.47.2