Skip to content

Cannot hook Android APIs in Android 8 #8

@Angelawj60311

Description

@Angelawj60311

I try to use your approach to hook some Android APIs in Android 8. I have made some version adjustment. But the Android API cannot be hooked successfully after entry_point_from_quick_compiled_code_ is modified to be ArtQuickInstrumentTrampoline. Before hooking, I checked the value of entry_point_from_quick_compiled_code_ in an ArtMethod and found it points to art_quick_to_interpreter_bridge which could mean that my system is running in interpreter mode. Do you know how to solve the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions