Skip to content

Java reflection does not get correct result #6

Description

@oleavr

(Continuation of frida/frida-gum#143.)

As described by @3asm:

Testing on Android emulator ARM 4.4.2 with latest frida-server. The following sample code crashes silently:

        send("element: " + element);
        send("element.getClass: " + element.getClass());
        send("element.getClass.getDeclaredFields: " + element.getClass().getDeclaredFields());

Giving the following results:

[+] element: android.content.UriMatcher@b1d01c28
[+] element.getClass: class android.content.UriMatcher

element.getClass() is supposed to return an instance of java.lang.Class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions