yalu icon indicating copy to clipboard operation
yalu copied to clipboard

dyldmagic_64 problems

Open nmbarker opened this issue 9 years ago • 7 comments

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[(n0x1000/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

nmbarker avatar Dec 21 '15 23:12 nmbarker

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

mstg avatar Dec 22 '15 23:12 mstg

@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...

Asynix avatar Dec 24 '15 20:12 Asynix

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

Generated exploit dylib

kpwn avatar Dec 24 '15 21:12 kpwn

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

nmbarker avatar Dec 24 '15 23:12 nmbarker

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

mstg avatar Dec 27 '15 00:12 mstg

The device I'm using is an iPad Air.

nmbarker avatar Dec 27 '15 15:12 nmbarker

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

nmbarker avatar Dec 30 '15 18:12 nmbarker