Skip to content

Access violation on apply'ing integer argument #5

Description

@oleavr

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

As described by @dpnishant:

The script below

var getSharedPreferences = ContextWrapper.getSharedPreferences.overload("java.lang.String", "int");
getSharedPreferences.implementation = function (spName, spMode) {
  console.log('getSharedPreferences Name: ' + spName);
  return getSharedPreferences.apply(this, arguments);
};

is throwing different types of errors (mostly access violation) in different apps.

screen shot 2016-06-26 at 1 33 33 pm

screen shot 2016-06-26 at 1 47 08 pm

screen shot 2016-06-26 at 1 48 59 pm

screen shot 2016-06-27 at 11 10 41 pm

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