Skip to content

Commit

Permalink
Build dyld shared cache extractor (dsc_extractor) from source code
Browse files Browse the repository at this point in the history
  • Loading branch information
razvand committed Dec 24, 2017
1 parent 40dca8b commit 408a7d9
Show file tree
Hide file tree
Showing 15 changed files with 4,305 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ make
```
cd tools/lzssdec/
make
```

* `dsc_extractor`

```
cd tools/dyld/
make
```

* `xpwn`
Expand Down
1 change: 1 addition & 0 deletions tools/dyld/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dsc_extractor
62 changes: 62 additions & 0 deletions tools/dyld/Architectures.hpp
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__


Loading

0 comments on commit 408a7d9

Please sign in to comment.