Open juneJuly opened 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
@limneos thank u very much.
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