phoenix3200 / decache Goto Github PK
View Code? Open in Web Editor NEWExtract *usable* file from the iOS dyld shared cache
Extract *usable* file from the iOS dyld shared cache
I run make command but too many error occurs, how I can compile it ?
make
/Users/bla/Desktop/decache-master/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tool decache...
In file included from reexport.mm:16:
./common.h:1:10: fatal error: 'iostream' file not found
#include <iostream>
^
1 error generated.
In file included from decache.mm:2:
./common.h:1:10: fatal error: 'iostream' file not found
#include <iostream>
^
1 error generated.
Compiling decache.mm...
In file included from decache.mm:4:
./reexport.h:34:81: error: implicit conversion of NULL constant to 'uintptr_t' (aka 'unsigned long') [-Werror,-Wnull-conversion]
void (*callback)(exported_node* node, uintptr_t context), uintptr_t context = NULL,
~ ^~~~
0
decache.mm:198:9: error: implicit conversion of NULL constant to 'uintptr_t' (aka 'unsigned long') [-Werror,-Wnull-conversion]
return NULL;
~~~~~~ ^~~~
0
decache.mm:945:12: error: unused variable 'nsyms' [-Werror,-Wunused-variable]
int nsyms = sym->nsyms;
^
decache.mm:1001:18: error: unused variable 'v' [-Werror,-Wunused-variable]
uint32_t v = nl[j].n_value;
^
decache.mm:974:12: error: unused variable 'nsyms' [-Werror,-Wunused-variable]
int nsyms = sym->nsyms;
^
decache.mm:855:12: error: unused variable 'pcbase_old' [-Werror,-Wunused-variable]
uintptr_t pcbase_old = -fbuf + 4 + tseg->old.vmaddr.start + shared_cache_slide;
^
decache.mm:793:12: error: unused variable 'psvm' [-Werror,-Wunused-variable]
uintptr_t psvm = tseg->old.vmaddr.start + pss->addr;
^
decache.mm:856:12: error: unused variable 'pcbase_act' [-Werror,-Wunused-variable]
uintptr_t pcbase_act = -fbuf + 4 + tseg->fix.vmaddr.start;
^
decache.mm:1115:17: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
int rX = op & 0x7 | ((op & 0x80) ? 0x8 : 0);
~~~^~~~~ ~
decache.mm:1115:17: note: place parentheses around the '&' expression to silence this warning
int rX = op & 0x7 | ((op & 0x80) ? 0x8 : 0);
^
( )
decache.mm:1161:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (lval >> 12) & 0xF
~ ~~~~~~~~~~~~~^~~~~
decache.mm:1161:34: note: place parentheses around the '&' expression to silence this warning
| (lval >> 12) & 0xF
^
( )
decache.mm:1162:33: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (lval >> 1) & 0x400
~ ~~~~~~~~~~~~^~~~~~~
decache.mm:1162:33: note: place parentheses around the '&' expression to silence this warning
| (lval >> 1) & 0x400
^
( )
decache.mm:1163:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (lval << 20) & 0x70000000
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
decache.mm:1163:34: note: place parentheses around the '&' expression to silence this warning
| (lval << 20) & 0x70000000
^
( )
decache.mm:1164:25: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (lval << 16) & 0xFF0000;
~ ~~~~~~~~~~~~~^~~~~~~~~~
decache.mm:1164:25: note: place parentheses around the '&' expression to silence this warning
| (lval << 16) & 0xFF0000;
^
( )
decache.mm:1167:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (hval >> 12) & 0xF
~ ~~~~~~~~~~~~~^~~~~
decache.mm:1167:34: note: place parentheses around the '&' expression to silence this warning
| (hval >> 12) & 0xF
^
( )
decache.mm:1168:33: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (hval >> 1) & 0x400
~ ~~~~~~~~~~~~^~~~~~~
decache.mm:1168:33: note: place parentheses around the '&' expression to silence this warning
| (hval >> 1) & 0x400
^
( )
decache.mm:1169:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (hval << 20) & 0x70000000
~ ~~~~~~~~~~~~~^~~~~~~~~~~~
decache.mm:1169:34: note: place parentheses around the '&' expression to silence this warning
| (hval << 20) & 0x70000000
^
( )
decache.mm:1170:25: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
| (hval << 16) & 0xFF0000;
~ ~~~~~~~~~~~~~^~~~~~~~~~
decache.mm:1170:25: note: place parentheses around the '&' expression to silence this warning
| (hval << 16) & 0xFF0000;
^
( )
decache.mm:1957:6: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
else
^
decache.mm:2343:32: error: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Werror,-Wshift-op-parentheses]
uint32_t lowestOffset = 1<<31-1;
~~~~^~
decache.mm:2343:32: note: place parentheses around the '-' expression to silence this warning
uint32_t lowestOffset = 1<<31-1;
^
( )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [obj/decache.mm.9f94129a.o] Error 1
make[1]: *** [internal-tool-all_] Error 2
make: *** [decache.all.tool.variables] Error 2
MacBook-Pro:decache-master bla$
most of errors are ivar ..... , also need to know is it possible to compile it using theos through iPhone
"Magic doesn't match" error shows up on dyld_shared_cache_arm64.
Do you have any plan to fix for arm64. Can you give me hint to fix?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.