Skip to content

[Discussion] Raw hook API #66

Description

@aviraxp

Expose hook framework capabilities to modules, for various reasons. One reason is to avoid memory allocations, JNI reflections etc to improve performance.

@hide
interface RawHook {
    RawHookHandle hookRaw(
            @NonNull Method target,
            @NonNull Method hook,
            @NonNull Method original
    );
}

interface RawHookHandle {
    Method getExecutable();
    void unhook();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions