Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dyldmagic_64 problems #39

Open
nmbarker opened this issue Dec 21, 2015 · 7 comments
Open

dyldmagic_64 problems #39

nmbarker opened this issue Dec 21, 2015 · 7 comments

Comments

@nmbarker
Copy link

alright so near the end of the program i get a lot of errors and I don't know if i downloaded it wrong or something, but here they are:
dyldmagic_64.m:38:9: warning: 'LC_SEGMENT' macro redefined [-Wmacro-redefined]

define LC_SEGMENT LC_SEGMENT_64

    ^

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/mach-o/loader.h:247:9: note: previous definition is here

define LC_SEGMENT 0x1 /* segment of this file to be mapped */

    ^

dyldmagic_64.m:60:18: warning: format specifies type 'void ' but the argument has type 'intptr_t' (aka 'long') [-Wformat]
printf("%p\n", slide);
~~ ^~~~~
%ld
dyldmagic_64.m:219:32: warning: format specifies type 'unsigned int' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
NSLog(@"cs_size = %x", cs_size);
~~ ^~~~~~~
%llx
dyldmagic_64.m:260:22: warning: incompatible integer to pointer conversion passing 'long' to parameter of type 'const struct mach_header_64 *' [-Wint-conversion]
rebaseDyld(0x150000000, 0x150000000-0x120000000);
^~~~~~~~~~~
dyldmagic_64.m:58:44: note: passing argument to parameter 'mh' here
void rebaseDyld(const struct macho_header
mh, intptr_t slide)
^
dyldmagic_64.m:862:26: warning: incompatible integer to pointer conversion assigning to 'void _' from 'int' [-Wint-conversion]
argss->sig.fs_blob_start = 37120;
^ ~~~~~
dyldmagic_64.m:1034:31: warning: incompatible pointer to integer conversion assigning to 'uint64_t' (aka 'unsigned long long') from 'uint64_t *' (aka 'unsigned long long '); remove & [-Wint-conversion]
stack[(n_0x1000/8) + (i)] = &stack[(n
0x1000/8) + (i+2)]; // LR
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
2015-12-21 18:12:45.964 main[11143:171716] 64 dyld!
0x30000000
2015-12-21 18:12:45.965 main[11143:171716] cs_size = 530
2015-12-21 18:12:45.965 main[11143:171716] proc'd
Generated exploit dylib

@mstg
Copy link

mstg commented Dec 22, 2015

If I'm not mistaken, this is a known issue with armv7 chipsets.

@Asynix
Copy link

Asynix commented Dec 24, 2015

@mstg armv7s too right? I recall @kpwn saying it works as far as arm64 goes.

Strange but on my iPhone 5S I receive that message too but not my iPhone 6...

@kpwn
Copy link
Owner

kpwn commented Dec 24, 2015

I don't see any error. As per log,

Generated exploit dylib

@nmbarker
Copy link
Author

@kpwn thats not the error I copied the terminal window for too long.

@mstg
Copy link

mstg commented Dec 27, 2015

@n-m-b Try doing everything from the start.

@nmbarker
Copy link
Author

The device I'm using is an iPad Air.

@nmbarker
Copy link
Author

@kpwn how do i contact you directly so that i can ask the developer questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants