limneos / weak_classdump

Cycript real-time classdump . An alternative for encrypted binaries
246 stars 50 forks source link

Application received signal SIGSEGV #8

Open juneJuly opened 8 years ago

juneJuly commented 8 years ago

iPhone:~ root# cycript -p XXXX weak_classdump.cy 'Added weak_classdump to "XXXX" (8088)' iPhone:~ root# cycript -p XXXX cy# ?debug debug == true cy# weak_classdump(KBNewAppDelegate, "/var/root/test"); cy= weak_classdump(KBNewAppDelegate,"/var/root/test") Application received signal SIGSEGV

limneos commented 8 years ago

That's because there's a mistake at the example 2 If a path is given, the function needs all 3 parameters:

function weak_classdump(classname,alsoDumpSuperclasses,outputdir)

so it also needs a boolean for "alsoDumpSuperclasses" variable.

weak_classdump(KBNewAppDelegate,0,"/var/root/test") should work

juneJuly commented 8 years ago

@limneos thank u very much.