weak_classdump icon indicating copy to clipboard operation
weak_classdump copied to clipboard

Application received signal SIGSEGV

Open l3gi0nQQ opened this issue 10 years ago • 2 comments

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

l3gi0nQQ avatar Dec 24 '15 03:12 l3gi0nQQ

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 avatar Jan 14 '16 02:01 limneos

@limneos thank u very much.

l3gi0nQQ avatar Jan 14 '16 07:01 l3gi0nQQ