From: Jay Freeman (saurik) Date: Sat, 27 Jun 2015 04:32:50 +0000 (-0700) Subject: Align size of a final embedded Mach-O to 16 bytes. X-Git-Tag: v1.2.0^0 X-Git-Url: https://git.cameronkatri.com/ldid.git/commitdiff_plain/1b7da752c83d8adfc849b723caa4c51c2fe8343f Align size of a final embedded Mach-O to 16 bytes. --- 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); } }