Skip to content
This repository was archived by the owner on Oct 19, 2025. It is now read-only.
This repository was archived by the owner on Oct 19, 2025. It is now read-only.

ART Hook问题 #54

@liuguowei0709

Description

@liuguowei0709

请教一个问题。
任何一个method在art上都有2个入口,一个解释器,一个本地机器指令。我想hook一个method。
我看了您的源码,art_method->SetEntryPointFromQuickCompiledCode,这样是hook住一个本地机器指令执行的method。
我看您注释掉art_method->SetEntryPointFromInterpreter。
我想问的是,如果是解释执行的话,是不是必须SetEntryPointFromInterpreter才能hook住?
谢谢!!

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