]> git.saurik.com Git - ldid.git/log
ldid.git
9 years agoStandardize _syscall as exactly one function call.
Jay Freeman (saurik) [Mon, 28 Sep 2015 01:54:47 +0000 (18:54 -0700)] 
Standardize _syscall as exactly one function call.

9 years agoAllow more useful error messages in _assert macro.
Jay Freeman (saurik) [Mon, 28 Sep 2015 01:53:45 +0000 (18:53 -0700)] 
Allow more useful error messages in _assert macro.

9 years agoMove Functor implementation to header for the API.
Jay Freeman (saurik) [Sun, 27 Sep 2015 22:14:07 +0000 (15:14 -0700)] 
Move Functor implementation to header for the API.

9 years agoRename resign to Sign and put into ldid namespace.
Jay Freeman (saurik) [Sun, 27 Sep 2015 22:02:22 +0000 (15:02 -0700)] 
Rename resign to Sign and put into ldid namespace.

9 years agoSimplify implementation of temporary reallocation.
Jay Freeman (saurik) [Sun, 27 Sep 2015 10:35:27 +0000 (03:35 -0700)] 
Simplify implementation of temporary reallocation.

9 years agoPush few filename variables into the deeper scope.
Jay Freeman (saurik) [Sun, 27 Sep 2015 10:09:53 +0000 (03:09 -0700)] 
Push few filename variables into the deeper scope.

9 years agoIndirect support for .app signing via new -E flag.
Jay Freeman (saurik) [Mon, 21 Sep 2015 19:50:36 +0000 (12:50 -0700)] 
Indirect support for .app signing via new -E flag.

9 years agoRemove unused constructor in already-long Functor.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:56:54 +0000 (11:56 -0700)] 
Remove unused constructor in already-long Functor.

9 years agoCorrect incompatible flag checks (support for -s).
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:56:22 +0000 (11:56 -0700)] 
Correct incompatible flag checks (support for -s).

9 years agoBe more consistent in how size constants are used.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:54:17 +0000 (11:54 -0700)] 
Be more consistent in how size constants are used.

9 years agoApply static to most (if not all) local functions.
Jay Freeman (saurik) [Mon, 21 Sep 2015 18:53:19 +0000 (11:53 -0700)] 
Apply static to most (if not all) local functions.

9 years agoUse PKCS12 files to compile a real code signature.
Jay Freeman (saurik) [Mon, 21 Sep 2015 09:41:24 +0000 (02:41 -0700)] 
Use PKCS12 files to compile a real code signature.

9 years agoGenerally prefer data.empty() to data.size() == 0.
Jay Freeman (saurik) [Mon, 21 Sep 2015 08:09:34 +0000 (01:09 -0700)] 
Generally prefer data.empty() to data.size() == 0.

9 years agoReimplement requirements using newer abstractions.
Jay Freeman (saurik) [Mon, 21 Sep 2015 07:05:11 +0000 (00:05 -0700)] 
Reimplement requirements using newer abstractions.

9 years agoMove repetitive Blob magic/length logic to insert.
Jay Freeman (saurik) [Mon, 21 Sep 2015 06:44:16 +0000 (23:44 -0700)] 
Move repetitive Blob magic/length logic to insert.

9 years agoAbstract SuperBlob helper to support requirements.
Jay Freeman (saurik) [Mon, 21 Sep 2015 06:28:25 +0000 (23:28 -0700)] 
Abstract SuperBlob helper to support requirements.

9 years agoPort ldid to build inside of Impactor for Windows.
Jay Freeman (saurik) [Mon, 21 Sep 2015 04:48:20 +0000 (21:48 -0700)] 
Port ldid to build inside of Impactor for Windows.

9 years agoUse an std::string to store the name being signed.
Jay Freeman (saurik) [Mon, 21 Sep 2015 02:02:17 +0000 (19:02 -0700)] 
Use an std::string to store the name being signed.

9 years agoComplete padding of final fat code directory blob.
Jay Freeman (saurik) [Mon, 21 Sep 2015 01:52:15 +0000 (18:52 -0700)] 
Complete padding of final fat code directory blob.

9 years agoAvoid special case for removal of code signatures.
Jay Freeman (saurik) [Mon, 21 Sep 2015 01:45:09 +0000 (18:45 -0700)] 
Avoid special case for removal of code signatures.

9 years agoUpdate copyright year. (Wow, ldid is very old ;P.)
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:45:13 +0000 (17:45 -0700)] 
Update copyright year. (Wow, ldid is very old ;P.)

9 years agoDrop dependency on minimal as we port to Impactor.
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:43:56 +0000 (17:43 -0700)] 
Drop dependency on minimal as we port to Impactor.

9 years agoInternally stream signed output to std::streambuf.
Jay Freeman (saurik) [Mon, 21 Sep 2015 00:38:34 +0000 (17:38 -0700)] 
Internally stream signed output to std::streambuf.

9 years agoExtract reallocation/signature to helper function.
Jay Freeman (saurik) [Sun, 20 Sep 2015 01:39:15 +0000 (18:39 -0700)] 
Extract reallocation/signature to helper function.

9 years agoSupport LC_ENCRYPTION_INFO_64, for 64-bit decrypt.
Jay Freeman (saurik) [Tue, 25 Aug 2015 08:14:30 +0000 (01:14 -0700)] 
Support LC_ENCRYPTION_INFO_64, for 64-bit decrypt.

9 years agoMerge -r into -S and remove all non-obvious flags.
Jay Freeman (saurik) [Tue, 25 Aug 2015 07:23:34 +0000 (00:23 -0700)] 
Merge -r into -S and remove all non-obvious flags.

9 years agoAvoid using minimal/mapping.h (use internal mmap).
Jay Freeman (saurik) [Tue, 25 Aug 2015 00:01:43 +0000 (17:01 -0700)] 
Avoid using minimal/mapping.h (use internal mmap).

9 years agoThe Archive Identity Editor is a separate project.
Jay Freeman (saurik) [Mon, 24 Aug 2015 23:29:49 +0000 (16:29 -0700)] 
The Archive Identity Editor is a separate project.

9 years agoAvoid using minimal/string.h (prefer std::string).
Jay Freeman (saurik) [Mon, 24 Aug 2015 23:12:32 +0000 (16:12 -0700)] 
Avoid using minimal/string.h (prefer std::string).

9 years agoUse OpenSSL to implement SHA1 instead of our copy.
Jay Freeman (saurik) [Sun, 23 Aug 2015 09:21:23 +0000 (02:21 -0700)] 
Use OpenSSL to implement SHA1 instead of our copy.

9 years agoAvoid sharing linkedit_data_commands in FAT files.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:57:05 +0000 (05:57 -0700)] 
Avoid sharing linkedit_data_commands in FAT files.

9 years agoSeparate lookup of LC_ENCRYPTION_INFO from usages.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:53:29 +0000 (05:53 -0700)] 
Separate lookup of LC_ENCRYPTION_INFO from usages.

9 years agoAdd libplist (and libcnary) so to sign Info.plist.
Jay Freeman (saurik) [Fri, 21 Aug 2015 12:32:58 +0000 (05:32 -0700)] 
Add libplist (and libcnary) so to sign Info.plist.

9 years agoMaintain fat_arch.align when allocating fat files. v1.2.1
Jay Freeman (saurik) [Mon, 29 Jun 2015 19:04:31 +0000 (12:04 -0700)] 
Maintain fat_arch.align when allocating fat files.

9 years agoAlign size of a final embedded Mach-O to 16 bytes. v1.2.0
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:32:50 +0000 (21:32 -0700)] 
Align size of a final embedded Mach-O to 16 bytes.

9 years agoAlign __LINKEDIT segment vmsize to match filesize.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:30:47 +0000 (21:30 -0700)] 
Align __LINKEDIT segment vmsize to match filesize.

9 years agoOlder versions of Apple's compiler give me errors.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:23:23 +0000 (21:23 -0700)] 
Older versions of Apple's compiler give me errors.

9 years agoUse _syscall to verify that -S's truncate worked.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:18:46 +0000 (21:18 -0700)] 
Use _syscall to verify that -S's truncate worked.

9 years agoApple's newer LLVM backends generate garbage code.
Jay Freeman (saurik) [Sat, 27 Jun 2015 04:18:40 +0000 (21:18 -0700)] 
Apple's newer LLVM backends generate garbage code.

9 years agoRemove some thankfully now-obsolete UNIX includes.
Jay Freeman (saurik) [Fri, 26 Jun 2015 11:30:42 +0000 (04:30 -0700)] 
Remove some thankfully now-obsolete UNIX includes.

9 years agoAvoid Depends: on odcctools for codesign_allocate.
Jay Freeman (saurik) [Fri, 26 Jun 2015 10:26:52 +0000 (03:26 -0700)] 
Avoid Depends: on odcctools for codesign_allocate.

9 years agoCommit old logic to force codesign's install_name.
Jay Freeman (saurik) [Fri, 26 Jun 2015 08:31:54 +0000 (01:31 -0700)] 
Commit old logic to force codesign's install_name.

9 years agoFix compile using newer Xcode SDK or gcc on Linux.
Jay Freeman (saurik) [Mon, 9 Feb 2015 04:35:13 +0000 (20:35 -0800)] 
Fix compile using newer Xcode SDK or gcc on Linux.

10 years agoVery minor (critical) changes to the build script. v1.1.2
Jay Freeman (saurik) [Tue, 31 Dec 2013 13:14:00 +0000 (05:14 -0800)] 
Very minor (critical) changes to the build script.

11 years agoFix a typo mistake copying Telesphoreo description. v1.1.1
Jay Freeman (saurik) [Thu, 5 Sep 2013 09:02:43 +0000 (02:02 -0700)] 
Fix a typo mistake copying Telesphoreo description.

11 years agoAdd special cases to support old codesign_allocate. v1.1.0
Jay Freeman (saurik) [Tue, 3 Sep 2013 05:55:37 +0000 (22:55 -0700)] 
Add special cases to support old codesign_allocate.

11 years agoThe iOS package script installed ldid as ldid.arm.
Jay Freeman (saurik) [Tue, 3 Sep 2013 05:55:12 +0000 (22:55 -0700)] 
The iOS package script installed ldid as ldid.arm.

11 years agoAdd MH_OBJECT and BIND_* definitions for later use.
Jay Freeman (saurik) [Sat, 1 Dec 2012 12:45:33 +0000 (04:45 -0800)] 
Add MH_OBJECT and BIND_* definitions for later use.

11 years agoUse || instead of |... not certain how that happnened.
Jay Freeman (saurik) [Sat, 1 Dec 2012 12:42:27 +0000 (04:42 -0800)] 
Use || instead of |... not certain how that happnened.

12 years agoChange license on ldid to AGPL3 (reflecting usage).
Jay Freeman (saurik) [Sun, 4 Nov 2012 05:43:20 +0000 (22:43 -0700)] 
Change license on ldid to AGPL3 (reflecting usage).

12 years agoAdd minimal as a git submodule for easier access.
Jay Freeman (saurik) [Sun, 4 Nov 2012 05:02:42 +0000 (22:02 -0700)] 
Add minimal as a git submodule for easier access.

12 years agoUse the new -A cpu filter when using -r and -S.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:14:58 +0000 (19:14 -0700)] 
Use the new -A cpu filter when using -r and -S.

12 years agoAttept to autodetect support gcc architectures.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:12:27 +0000 (19:12 -0700)] 
Attept to autodetect support gcc architectures.

12 years agoAdd the cryptid= value to decryption report.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:11:58 +0000 (19:11 -0700)] 
Add the cryptid= value to decryption report.

12 years agoAdd a build environment for iOS+Cydia packaging.
Jay Freeman (saurik) [Fri, 7 Sep 2012 02:10:28 +0000 (19:10 -0700)] 
Add a build environment for iOS+Cydia packaging.

12 years agoProvide -a and -A, used to dump and select archs.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:23:01 +0000 (06:23 -0700)] 
Provide -a and -A, used to dump and select archs.

12 years agoAdd -d and -D, used to dump and edit encryptions.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:22:31 +0000 (06:22 -0700)] 
Add -d and -D, used to dump and edit encryptions.

12 years agoAdd the -O flag I used to munge extracted dylibs.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:18:18 +0000 (06:18 -0700)] 
Add the -O flag I used to munge extracted dylibs.

12 years agoAdded a few _packed modifiers that were missing.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:23:41 +0000 (06:23 -0700)] 
Added a few _packed modifiers that were missing.

12 years agoFix a few compilation warnings: const, %z, unused.
Jay Freeman (saurik) [Thu, 6 Sep 2012 13:19:15 +0000 (06:19 -0700)] 
Fix a few compilation warnings: const, %z, unused.

12 years agoChange software license from GPLv3 from Modified BSD.
Jay Freeman (saurik) [Wed, 4 Jul 2012 20:02:35 +0000 (13:02 -0700)] 
Change software license from GPLv3 from Modified BSD.

13 years agoSupport ldid -r on fat, big-endian, and 64-bit.
Jay Freeman (saurik) [Sat, 22 Oct 2011 23:36:30 +0000 (16:36 -0700)] 
Support ldid -r on fat, big-endian, and 64-bit.

13 years agoSupport read-only mmap when possible.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:15:35 +0000 (07:15 -0700)] 
Support read-only mmap when possible.

13 years agoAdd a -> operator to FatHeader for parity.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:13:41 +0000 (07:13 -0700)] 
Add a -> operator to FatHeader for parity.

13 years agoAdd a ton more load command structs.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:13:15 +0000 (07:13 -0700)] 
Add a ton more load command structs.

13 years agoAdd ldid -r: reverse ldid.
Jay Freeman (saurik) [Sat, 22 Oct 2011 14:11:53 +0000 (07:11 -0700)] 
Add ldid -r: reverse ldid.

13 years agoSupport universal (fat) binaries.
Jay Freeman (saurik) [Fri, 20 May 2011 03:52:39 +0000 (20:52 -0700)] 
Support universal (fat) binaries.

13 years agoUpdate copyright and description.
Jay Freeman (saurik) [Thu, 10 Feb 2011 03:05:15 +0000 (19:05 -0800)] 
Update copyright and description.

13 years agoHave make.sh output what it is doing.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:23:54 +0000 (05:23 -0800)] 
Have make.sh output what it is doing.

13 years agoSupport compilation on Mac OS X 10.4.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:23:33 +0000 (05:23 -0800)] 
Support compilation on Mac OS X 10.4.

13 years agoFix swap on MH_DYLDLINK enforce.
Jay Freeman (saurik) [Thu, 13 Jan 2011 13:18:45 +0000 (05:18 -0800)] 
Fix swap on MH_DYLDLINK enforce.

14 years agoSupport running ldid on ppc.
Jay Freeman (saurik) [Mon, 8 Nov 2010 18:11:36 +0000 (10:11 -0800)] 
Support running ldid on ppc.

14 years agoSupport ldid on PPC binaries.
Jay Freeman (saurik) [Fri, 5 Nov 2010 20:26:22 +0000 (13:26 -0700)] 
Support ldid on PPC binaries.

14 years agoAdd a simple build environment.
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:25:30 +0000 (12:25 -0700)] 
Add a simple build environment.

14 years agoAdd support for i386 and x86_64 binaries.
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:24:38 +0000 (12:24 -0700)] 
Add support for i386 and x86_64 binaries.

14 years agoFix a stupid warning with printf().
Jay Freeman (saurik) [Fri, 5 Nov 2010 19:24:22 +0000 (12:24 -0700)] 
Fix a stupid warning with printf().

15 years agoBe a little more explicit about types for Cygwin.
Jay Freeman (saurik) [Thu, 13 Aug 2009 20:33:45 +0000 (20:33 +0000)] 
Be a little more explicit about types for Cygwin.

15 years agoMake ldid workaround the stupid inode issue. v1.0.610
Jay Freeman (saurik) [Wed, 20 May 2009 06:35:14 +0000 (06:35 +0000)] 
Make ldid workaround the stupid inode issue.

15 years agoAdd MH_DYLDLINK before attempting codesign_allocate.
Jay Freeman (saurik) [Tue, 21 Apr 2009 07:47:25 +0000 (07:47 +0000)] 
Add MH_DYLDLINK before attempting codesign_allocate.

15 years agoCheckpointing work on -n and -w before adding MH_DYLDLINK.
Jay Freeman (saurik) [Mon, 20 Apr 2009 06:44:55 +0000 (06:44 +0000)] 
Checkpointing work on -n and -w before adding MH_DYLDLINK.

15 years agoAdded string.h for memset. (toelooper)
Jay Freeman (saurik) [Sun, 22 Feb 2009 12:09:42 +0000 (12:09 +0000)] 
Added string.h for memset. (toelooper)

16 years agoAdded ldid -e. v1.0.476
Jay Freeman (saurik) [Mon, 15 Sep 2008 09:13:41 +0000 (09:13 +0000)] 
Added ldid -e.

16 years agoFixed a stupid bug in ldid that caused incorrect signatures occasionally. v1.0.371
Jay Freeman (saurik) [Tue, 22 Jul 2008 10:58:10 +0000 (10:58 +0000)] 
Fixed a stupid bug in ldid that caused incorrect signatures occasionally.

16 years agoAdded usage to ldid. v1.0.363
Jay Freeman (saurik) [Sun, 20 Jul 2008 02:35:07 +0000 (02:35 +0000)] 
Added usage to ldid.

16 years agoAdded codehash update-only and entitlement hashing.
Jay Freeman (saurik) [Fri, 18 Jul 2008 08:19:34 +0000 (08:19 +0000)] 
Added codehash update-only and entitlement hashing.

16 years agoSwitched to minimal's strndup.
Jay Freeman (saurik) [Sun, 6 Jul 2008 21:06:40 +0000 (21:06 +0000)] 
Switched to minimal's strndup.

16 years agoAdded support for entitlement XML files.
Jay Freeman (saurik) [Sun, 6 Jul 2008 20:56:57 +0000 (20:56 +0000)] 
Added support for entitlement XML files.

16 years agoAdded .ar and .elc determinism.
Jay Freeman (saurik) [Mon, 16 Jun 2008 20:04:36 +0000 (20:04 +0000)] 
Added .ar and .elc determinism.

16 years agoAdded a #define for a DYLIB_STUB, not that I need to use it, apparently.
Jay Freeman (saurik) [Mon, 16 Jun 2008 19:37:56 +0000 (19:37 +0000)] 
Added a #define for a DYLIB_STUB, not that I need to use it, apparently.

16 years agoMaintain permissions during codehashing.
Jay Freeman (saurik) [Sat, 14 Jun 2008 20:42:54 +0000 (20:42 +0000)] 
Maintain permissions during codehashing.

16 years agoAdded requirement slots and armv6 support to ldid/codesign.
Jay Freeman (saurik) [Sat, 14 Jun 2008 09:29:39 +0000 (09:29 +0000)] 
Added requirement slots and armv6 support to ldid/codesign.

16 years agoForgot to add this file many blue moons ago.
Jay Freeman (saurik) [Sat, 14 Jun 2008 09:29:16 +0000 (09:29 +0000)] 
Forgot to add this file many blue moons ago.

16 years agoReplaced codesign with ldid -S.
Jay Freeman (saurik) [Fri, 13 Jun 2008 23:27:12 +0000 (23:27 +0000)] 
Replaced codesign with ldid -S.

16 years agoDrastic, sweeping modifications to support iPhone 1.2.0/2.0.
Jay Freeman (saurik) [Sun, 6 Apr 2008 10:28:29 +0000 (10:28 +0000)] 
Drastic, sweeping modifications to support iPhone 1.2.0/2.0.

16 years agoRevision numbers on packages now being bumped, moved files around in Apple packages...
Jay Freeman (saurik) [Fri, 4 Jan 2008 01:17:50 +0000 (01:17 +0000)] 
Revision numbers on packages now being bumped, moved files around in Apple packages to the correct folders (adjusting for conflicts), added numerous Java packages, and fixed dependencies on findutils, coreutils, inetutils, and gnupg.