Code Monkey home page Code Monkey logo

weak_classdump's People

Contributors

limneos avatar rpetrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

weak_classdump's Issues

does not implement doesNotRecognizeSelector: error

Hi guys.

I tried use weak_classdump_bundle to new google chrome app.
It showed does not implement error and abort message in syslog.

*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement methodSignatureForSelector: -- trouble ahead
*** NSInvocation: warning: object 0x6e0e24 of class 'NI_FIX_CATEGORY_BUG_NSDataNimbusCore' does not implement doesNotRecognizeSelector: -- abort

So, I add one line for temporary fix.

for (var i = 0; i < permittedNames.length; i++) {
        try {
                while ([permittedNames[i] hasPrefix:@"NI_FIX"]) i++;
                results.push(weak_classdump(objc_getClass(permittedNames[i]), false, outputdir));
        } catch (e) {
        }
}

Can you fix this abort issue without hard-coding (like above) ?

Pollutes the global namespace with a bunch of junk functions

commonTypes, structParser, constructTypeAndName, NSNotFound, compareString1, compareString2, propertyTranslator, propertyLineGenerator, parSet, attrArr, etc.

I would send a pull request to remedy this, but it would touch more lines than not, so I'll leave it in your hands.

weak_classdump_bundle Crashes After A While. Doesn't Dump Anything.

I type in the following commands, as soon as I open Terminal:

su
cd /
cycript -p SpringBoard weak_classdump.cy; cycript -p SpringBoard
weak_classdump_bundle([NSBundle mainBundle],@"/var/mobile/Documents/SpringBoard")

Like you can see, I'm trying to dump the SpringBoard Headers using cycript (playing around, nothing official). But after I put in those commands, it's like it freezes. It stays frozen for a few minutes and then finally it resprings the whole phone. While the phone is frozen, nothing works: Can't input new commands, home button disabled, etc..

Maybe it's because I'm specifically trying to dump SpringBoard. There's something I need to see so I kinda need to dump SB with this script for that. In the end there are no headers in my path so I assume it's entering some sort of infinite loop without actually dumping anything.

Application received signal SIGSEGV

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

throw new TypeError("undefined is not an object (evaluating 'NSProcessInfo.processInfo.processName.toString')")

hi all,

I have been trying to dump the class information for two apps. One app is a mix of Objective C and Swift and the other is pure Swift (2.0). The jailbroken iPhone is o/s version 9.0.2.

When I run the: cycript -p 1021 weak_classdump.cy; cycript -p 1021

I get the following error:
throw new TypeError("undefined is not an object (evaluating 'NSProcessInfo.processInfo.processName.toString')")

I can never attach to the process. Any tips? Sorry, if it is a basic question. I am a first time user of weak_classdump.

Fails to load in specific app

When I run this:
cycript -p coinoffers weak_classdump.cy

I get this output:
{message:"*** _assert(*name != NULL):sig/parse.cpp(44):Parse_ [errno=2]",line:1,sourceId:6726464}

However if I run it in Skype, it works fine.

cant load this

I thank is a good idea to dump class header.
This git is a long time.
Here is the Error msg I see, I cant test it success.
iPhone:~ root# cycript -p CallRecorder weak_dumpclass.cy
throw new TypeError("undefined is not an object (evaluating 'NSProcessInfo.processInfo.processName.toString')")

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.