Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dalvik.enumerateLoadedClasses crashes #98

Closed
pandasauce opened this issue Aug 17, 2015 · 3 comments
Closed

Dalvik.enumerateLoadedClasses crashes #98

pandasauce opened this issue Aug 17, 2015 · 3 comments

Comments

@pandasauce
Copy link

Whenever I try using the enumerateLoadedClasses() function or the sync version of it the following error pops up:

{u'lineNumber': 1932, u'type': u'error', u'description': u'Error: access violation reading 0x0', u'fileName': u'gumscript-runtime-dalvik.js'}

Emulator 4.3.1 armeabi-v7a

@oleavr
Copy link
Member

oleavr commented Aug 17, 2015

Aha. This is probably this code that needs an additional entry:

if (Java.androidVersion.indexOf('4.2.') === 0) {
// verified with 4.2.2
pattern = 'F8 B5 06 46 0C 46 31 B3 43 68 00 F1 A8 07 22 46';
} else {
// verified with 4.3.1 and 4.4.4
pattern = '2D E9 F0 41 05 46 15 4E 0C 46 7E 44 11 B3 43 68';
}

Feel like digging in to find the function signature on 4.3.1?

@marc1006
Copy link

Could you try it with the new Frida version?
Because I have fixed some parts of it in
2f6123f

@oleavr
Copy link
Member

oleavr commented Sep 10, 2015

Assuming this is fixed in the latest release (4.5.1).

@oleavr oleavr closed this as completed Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants