-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build dyld shared cache extractor (dsc_extractor) from source code
- Loading branch information
Showing
15 changed files
with
4,305 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,13 @@ make | |
``` | ||
cd tools/lzssdec/ | ||
make | ||
``` | ||
|
||
* `dsc_extractor` | ||
|
||
``` | ||
cd tools/dyld/ | ||
make | ||
``` | ||
|
||
* `xpwn` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/dsc_extractor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*- | ||
* | ||
* Copyright (c) 2005-2011 Apple Inc. All rights reserved. | ||
* | ||
* @APPLE_LICENSE_HEADER_START@ | ||
* | ||
* This file contains Original Code and/or Modifications of Original Code | ||
* as defined in and that are subject to the Apple Public Source License | ||
* Version 2.0 (the 'License'). You may not use this file except in | ||
* compliance with the License. Please obtain a copy of the License at | ||
* http://www.opensource.apple.com/apsl/ and read it before using this | ||
* file. | ||
* | ||
* The Original Code and all software distributed under the License are | ||
* distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | ||
* EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | ||
* INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | ||
* Please see the License for the specific language governing rights and | ||
* limitations under the License. | ||
* | ||
* @APPLE_LICENSE_HEADER_END@ | ||
*/ | ||
|
||
#ifndef __ARCHITECTURES__ | ||
#define __ARCHITECTURES__ | ||
|
||
#include "FileAbstraction.hpp" | ||
|
||
|
||
// | ||
// Architectures | ||
// | ||
struct x86 | ||
{ | ||
typedef Pointer32<LittleEndian> P; | ||
|
||
}; | ||
|
||
struct x86_64 | ||
{ | ||
typedef Pointer64<LittleEndian> P; | ||
}; | ||
|
||
struct arm | ||
{ | ||
typedef Pointer32<LittleEndian> P; | ||
|
||
}; | ||
|
||
struct arm64 | ||
{ | ||
typedef Pointer64<LittleEndian> P; | ||
|
||
}; | ||
|
||
|
||
|
||
|
||
#endif // __ARCHITECTURES__ | ||
|
||
|
Oops, something went wrong.